add decorator for angularjs