From d85505d0194e6aa2cfe24aea51afe12a09ba73d2 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Fri, 14 Feb 2014 14:12:13 +0000 Subject: docs(content): fix bad links --- src/ng/directive/form.js | 2 +- src/ng/directive/input.js | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/ng/directive') diff --git a/src/ng/directive/form.js b/src/ng/directive/form.js index b6919836..b55eec6d 100644 --- a/src/ng/directive/form.js +++ b/src/ng/directive/form.js @@ -226,7 +226,7 @@ function FormController(element, attrs) { * * @description * Directive that instantiates - * {@link ng.directive:form.FormController FormController}. + * {@link form.FormController FormController}. * * If the `name` attribute is specified, the form controller is published onto the current scope under * this name. diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js index c7983d16..a617af6d 100644 --- a/src/ng/directive/input.js +++ b/src/ng/directive/input.js @@ -854,7 +854,7 @@ var VALID_CLASS = 'ng-valid', the control reads value from the DOM. Each function is called, in turn, passing the value through to the next. Used to sanitize / convert the value as well as validation. For validation, the parsers should update the validity state using - {@link ng.directive:ngModel.NgModelController#methods_$setValidity $setValidity()}, + {@link ngModel.NgModelController#$setValidity $setValidity()}, and return `undefined` for invalid values. * @@ -1191,7 +1191,7 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ * * @description * The `ngModel` directive binds an `input`,`select`, `textarea` (or custom form control) to a - * property on the scope using {@link ng.directive:ngModel.NgModelController NgModelController}, + * property on the scope using {@link ngModel.NgModelController NgModelController}, * which is created and exposed by this directive. * * `ngModel` is responsible for: @@ -1214,12 +1214,12 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ * For basic examples, how to use `ngModel`, see: * * - {@link ng.directive:input input} - * - {@link ng.directive:input.text text} - * - {@link ng.directive:input.checkbox checkbox} - * - {@link ng.directive:input.radio radio} - * - {@link ng.directive:input.number number} - * - {@link ng.directive:input.email email} - * - {@link ng.directive:input.url url} + * - {@link input[text] text} + * - {@link input[checkbox] checkbox} + * - {@link input[radio] radio} + * - {@link input[number] number} + * - {@link input[email] email} + * - {@link input[url] url} * - {@link ng.directive:select select} * - {@link ng.directive:textarea textarea} * -- cgit v1.2.3