aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/ngSwitch.js
diff options
context:
space:
mode:
authorPascal Borreli2013-03-21 19:09:47 +0000
committerPawel Kozlowski2013-03-29 23:14:55 +0100
commit9480136d9f062ec4b8df0a35914b48c0d61e0002 (patch)
tree5d345c7be4f20b4ad688ede7ed6be4147a91cb45 /src/ng/directive/ngSwitch.js
parent4ae46814ff4e7c0bbcdbbefc0a97277283a84065 (diff)
downloadangular.js-9480136d9f062ec4b8df0a35914b48c0d61e0002.tar.bz2
docs(*): fixed typos
Diffstat (limited to 'src/ng/directive/ngSwitch.js')
-rw-r--r--src/ng/directive/ngSwitch.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ng/directive/ngSwitch.js b/src/ng/directive/ngSwitch.js
index 88b1e701..44985737 100644
--- a/src/ng/directive/ngSwitch.js
+++ b/src/ng/directive/ngSwitch.js
@@ -20,7 +20,7 @@
* @scope
* @param {*} ngSwitch|on expression to match against <tt>ng-switch-when</tt>.
* @paramDescription
- * On child elments add:
+ * On child elements add:
*
* * `ngSwitchWhen`: the case statement to match against. If match then this
* case will be displayed. If the same match appears multiple times, all the
@@ -59,7 +59,7 @@
select('selection').option('home');
expect(element('.doc-example-live [ng-switch]').text()).toMatch(/Home Span/);
});
- it('should select deafault', function() {
+ it('should select default', function() {
select('selection').option('other');
expect(element('.doc-example-live [ng-switch]').text()).toMatch(/default/);
});