fixing angularJS