minor fix in angular.js