aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/directive')
-rw-r--r--src/ng/directive/booleanAttrs.js12
-rw-r--r--src/ng/directive/form.js2
-rw-r--r--src/ng/directive/input.js6
-rw-r--r--src/ng/directive/ngBind.js4
-rw-r--r--src/ng/directive/ngShowHide.js4
-rw-r--r--src/ng/directive/ngTransclude.js2
6 files changed, 15 insertions, 15 deletions
diff --git a/src/ng/directive/booleanAttrs.js b/src/ng/directive/booleanAttrs.js
index 10a98d15..ff3cf5ee 100644
--- a/src/ng/directive/booleanAttrs.js
+++ b/src/ng/directive/booleanAttrs.js
@@ -191,7 +191,7 @@
</example>
*
* @element INPUT
- * @param {expression} ngDisabled If the {@link guide/expression expression} is truthy,
+ * @param {expression} ngDisabled If the {@link guide/expression expression} is truthy,
* then special attribute "disabled" will be set on the element
*/
@@ -226,7 +226,7 @@
</example>
*
* @element INPUT
- * @param {expression} ngChecked If the {@link guide/expression expression} is truthy,
+ * @param {expression} ngChecked If the {@link guide/expression expression} is truthy,
* then special attribute "checked" will be set on the element
*/
@@ -261,7 +261,7 @@
</example>
*
* @element INPUT
- * @param {expression} ngReadonly If the {@link guide/expression expression} is truthy,
+ * @param {expression} ngReadonly If the {@link guide/expression expression} is truthy,
* then special attribute "readonly" will be set on the element
*/
@@ -280,7 +280,7 @@
* The `ngSelected` directive solves this problem for the `selected` atttribute.
* This complementary directive is not removed by the browser and so provides
* a permanent reliable place to store the binding information.
- *
+ *
* @example
<example>
<file name="index.html">
@@ -300,7 +300,7 @@
</example>
*
* @element OPTION
- * @param {expression} ngSelected If the {@link guide/expression expression} is truthy,
+ * @param {expression} ngSelected If the {@link guide/expression expression} is truthy,
* then special attribute "selected" will be set on the element
*/
@@ -336,7 +336,7 @@
</example>
*
* @element DETAILS
- * @param {expression} ngOpen If the {@link guide/expression expression} is truthy,
+ * @param {expression} ngOpen If the {@link guide/expression expression} is truthy,
* then special attribute "open" will be set on the element
*/
diff --git a/src/ng/directive/form.js b/src/ng/directive/form.js
index b55eec6d..c5e39cde 100644
--- a/src/ng/directive/form.js
+++ b/src/ng/directive/form.js
@@ -36,7 +36,7 @@ var nullFormCtrl = {
* - `pattern`
* - `required`
* - `url`
- *
+ *
* @description
* `FormController` keeps track of all its controls and nested forms as well as state of them,
* such as being valid/invalid or dirty/pristine.
diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js
index 3169c6de..a3547bb1 100644
--- a/src/ng/directive/input.js
+++ b/src/ng/directive/input.js
@@ -295,7 +295,7 @@ var inputType = {
var text = element(by.binding('text'));
var valid = element(by.binding('myForm.input.$valid'));
var input = element(by.model('text'));
-
+
it('should initialize to model', function() {
expect(text.getText()).toContain('me@example.com');
expect(valid.getText()).toContain('true');
@@ -409,7 +409,7 @@ var inputType = {
expect(value1.getText()).toContain('true');
expect(value2.getText()).toContain('YES');
-
+
element(by.model('value1')).click();
element(by.model('value2')).click();
@@ -1021,7 +1021,7 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
* You can override this for input directives whose concept of being empty is different to the
* default. The `checkboxInputType` directive does this because in its case a value of `false`
* implies empty.
- *
+ *
* @param {*} value Reference to check.
* @returns {boolean} True if `value` is empty.
*/
diff --git a/src/ng/directive/ngBind.js b/src/ng/directive/ngBind.js
index 6bd4fd27..2bd01f91 100644
--- a/src/ng/directive/ngBind.js
+++ b/src/ng/directive/ngBind.js
@@ -144,14 +144,14 @@ var ngBindTemplateDirective = ['$interpolate', function($interpolate) {
*
* @example
Try it here: enter text in text box and watch the greeting change.
-
+
<example module="ngBindHtmlExample" deps="angular-sanitize.js">
<file name="index.html">
<div ng-controller="ngBindHtmlCtrl">
<p ng-bind-html="myHTML"></p>
</div>
</file>
-
+
<file name="script.js">
angular.module('ngBindHtmlExample', ['ngSanitize'])
diff --git a/src/ng/directive/ngShowHide.js b/src/ng/directive/ngShowHide.js
index c783f181..59312f0f 100644
--- a/src/ng/directive/ngShowHide.js
+++ b/src/ng/directive/ngShowHide.js
@@ -56,7 +56,7 @@
* **Note:** Here is a list of values that ngShow will consider as a falsy value (case insensitive):<br />
* "f" / "0" / "false" / "no" / "n" / "[]"
* </div>
- *
+ *
* ## A note about animations with ngShow
*
* Animations in ngShow/ngHide work with the show and hide events that are triggered when the directive expression
@@ -211,7 +211,7 @@ var ngShowDirective = ['$animate', function($animate) {
* ```
*
* Just remember to include the important flag so the CSS override will function.
- *
+ *
* <div class="alert alert-warning">
* **Note:** Here is a list of values that ngHide will consider as a falsy value (case insensitive):<br />
* "f" / "0" / "false" / "no" / "n" / "[]"
diff --git a/src/ng/directive/ngTransclude.js b/src/ng/directive/ngTransclude.js
index 44d50e03..bcc657d1 100644
--- a/src/ng/directive/ngTransclude.js
+++ b/src/ng/directive/ngTransclude.js
@@ -64,7 +64,7 @@ var ngTranscludeDirective = ngDirective({
'Element: {0}',
startingTag($element));
}
-
+
$transclude(function(clone) {
$element.empty();
$element.append(clone);