added angularjs services controllers and directives