added ang controller and factory
Merge pull request #13 from jonarnaldo/master

adds angular controller and factory