Remove unneeded $http dependency
Merge pull request #7 from markdalgleish/remove-unneeded-http-dep

Remove unneeded $http dependency
Allow flags to be set with array