minor change for using Angularjs