Adding references and angularjs