This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +3
-16
lines changed
1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -149,20 +149,6 @@ var NON_ASSIGNABLE_MODEL_EXPRESSION = 'Non-assignable model expression: ';
149
149
*
150
150
* @description
151
151
*/
152
-
153
- /**
154
- * @ngdoc function
155
- * @name ng.$compileProvider#directive
156
- * @methodOf ng.$compileProvider
157
- * @function
158
- *
159
- * @description
160
- * Register a new directive with compiler
161
- *
162
- * @param {string } name name of the directive.
163
- * @param {function } directiveFactory An injectable directive factory function.
164
- * @returns {ng.$compileProvider } Self for chaining.
165
- */
166
152
$CompileProvider . $inject = [ '$provide' ] ;
167
153
function $CompileProvider ( $provide ) {
168
154
var hasDirectives = { } ,
@@ -174,17 +160,18 @@ function $CompileProvider($provide) {
174
160
175
161
/**
176
162
* @ngdoc function
177
- * @name ng.$compileProvider. directive
163
+ * @name ng.$compileProvider# directive
178
164
* @methodOf ng.$compileProvider
179
165
* @function
180
166
*
181
167
* @description
182
- * Register directives with the compiler.
168
+ * Register a new directives with the compiler.
183
169
*
184
170
* @param {string } name Name of the directive in camel-case. (ie <code>ngBind</code> which will match as
185
171
* <code>ng-bind</code>).
186
172
* @param {function } directiveFactory An injectable directive factroy function. See {@link guide/directive} for more
187
173
* info.
174
+ * @returns {ng.$compileProvider } Self for chaining.
188
175
*/
189
176
this . directive = function registerDirective ( name , directiveFactory ) {
190
177
if ( isString ( name ) ) {
You can’t perform that action at this time.
0 commit comments