Merge pull request #6 from gfauchart/master

change callback to angular promise
changing callback to angular promise
updated version v1.0.1
update