docs(ngChange): remove wrong @restrict and add missing @param

This commit is contained in:
rodyhaddad 2013-09-08 17:24:13 -04:00 committed by Pete Bacon Darwin
parent d8987c170f
commit 573d41b73c

View file

@ -1165,7 +1165,6 @@ var ngModelDirective = function() {
/**
* @ngdoc directive
* @name ng.directive:ngChange
* @restrict E
*
* @description
* Evaluate given expression when user changes the input.
@ -1174,6 +1173,8 @@ var ngModelDirective = function() {
* Note, this directive requires `ngModel` to be present.
*
* @element input
* @param {expression} ngChange {@link guide/expression Expression} to evaluate upon change
* in input value.
*
* @example
* <doc:example>