change for using Angularjs