Fixed usage of attribute of angular.