added angularJS, services, new directives and controllers