adding dependency on angularjs