declares ng-app as an angular.module
defines a angular factory