setting ng-app and the module name
using factory