Added AngularJS 1.3.1 compatibility
Merge pull request #42 from kpourdeilami/master

Added AngularJS 1.3.1 compatibility