Use AngularJS" decorate function with ease