Matthew Davies
79d9fd9d57
docs(guide/controller): fixed spelling of spiciness
...
Closes #7185
2014-04-21 16:03:17 -07:00
ttam3d0
2dc2265e4f
docs(tutorial/step_03): sync markup with angular-phonecat
...
Update from Bootstrap 2.3 to 3.1 changed "span" to "col" tags
Closes #7172
2014-04-21 15:46:57 -07:00
Thomas Junghans
9cd33df50c
docs(tutorial): update step_11.ngdoc
...
Change toEqual to toEqualData in the test 'should create "phones" model with 2 phones fetched from xhr'
to make test more consistent.
Closes #7182
2014-04-21 15:46:46 -07:00
Simon Taranto
1db20ce90f
docs(tutorial): update step_07.ngdoc
...
Closes #7169
2014-04-21 15:32:37 -07:00
Amin Ogarrio
76cb5ce7c5
docs(tutorial): fix typos in examples
...
The phonecatApp and phonecatAnimations modules have a dot where a semicolon should be at the end of the sentence
Closes #7167
2014-04-21 15:09:18 -07:00
jerryfan
7839330b40
docs(tutorial/step_12): fix grammar
2014-04-18 18:43:49 -04:00
expilo
b6eb5fdb05
docs(tutorial): specify that ng-repeat goes in markup and not script
...
Just to make clear that it should not go to test spec.
Closes #7104
2014-04-17 12:44:25 -04:00
Thom Allen
5bf6e50b40
docs(tutorial): fix typo in module name
...
Fixed a typo in step 2
Closes #7138
2014-04-16 16:25:33 -04:00
Caitlin Potter
373078a94c
revert: feat(injector): "strict-DI" mode which disables "automatic" function annotation
...
This reverts commit f5a04f59cf .
2014-04-14 20:17:22 -04:00
Wojciech Fornal
19d7a127c7
docs(api): fix broken link to "Services" guide
...
Nothing big. Simply a broken link to "Services".
> Nothing big.
It IS big, don't you ever forget it!
Closes #7101
2014-04-12 20:48:01 -04:00
Caitlin Potter
f5a04f59cf
feat(injector): "strict-DI" mode which disables "automatic" function annotation
...
This modifies the injector to prevent automatic annotation from occurring for a given injector.
This behaviour can be enabled when bootstrapping the application by using the attribute
"ng-strict-di" on the root element (the element containing "ng-app"), or alternatively by passing
an object with the property "strictDi" set to "true" in angular.bootstrap, when bootstrapping
manually.
JS example:
angular.module("name", ["dependencies", "otherdeps"])
.provider("$willBreak", function() {
this.$get = function($rootScope) {
};
})
.run(["$willBreak", function($willBreak) {
// This block will never run because the noMagic flag was set to true,
// and the $willBreak '$get' function does not have an explicit
// annotation.
}]);
angular.bootstrap(document, ["name"], {
strictDi: true
});
HTML:
<html ng-app="name" ng-strict-di>
<!-- ... -->
</html>
This will only affect functions with an arity greater than 0, and without an $inject property.
Closes #6719
Closes #6717
Closes #4504
Closes #6069
Closes #3611
2014-04-11 00:15:32 -04:00
Valentin Waeselynck
6782c45ddc
docs(guide/e2e-testing): remove repeated word 'manually'
...
Fixed repetition in Caveats paragraph
"manually" was repeated. Grammatical correctness is the prime directive, resistance is futile.
Closes #7073
2014-04-10 11:04:33 -04:00
Julie
c55477fb2b
docs(e2e-testing): deprecate ng-scenario and update E2E testing doc to discuss protractor
2014-04-10 11:04:25 -04:00
Robert Speicher
2e2d62ca12
docs(tutorial): npm needs "run" keyword for custom script names
...
Fix "npm run update-webdriver" command
Closes #7071
2014-04-10 08:25:12 -04:00
Steven Benjamin
e3141fe5f4
docs(guide/directive): directives can be comments, too
...
While it's not a widely used feature, and likely shouldn't be recommended, it is
possible to use a directive via a comment node.
Closes #7061
2014-04-10 06:48:06 -04:00
Rosseyn
1ebed26678
docs(guide/ie): fix spelling mistake
...
Closes #7050
2014-04-08 18:46:53 -04:00
Jason Travis
c550c12738
docs(guide): fix dropped word in controller description
...
Closes #7026
2014-04-07 07:46:55 -04:00
Thomas Wicker
651caffe45
docs(tutorial): fix typo in tutorial index page
...
Spelling error, "server" should be "serve"
Closes #7028
2014-04-07 07:41:02 -04:00
Jonathan Sampson
45855b8ba2
docs(guide/providers): fix grammar in note regarding factory naming conventions
...
It seems as though this sentence wasn't written the way it was originally planned. I did my best to
approximate the intent of the original author.
Closes #7022
2014-04-06 22:06:34 -04:00
Peter Bacon Darwin
feb54d68d2
docs(tutorial/step-8): fix external link
2014-04-06 18:58:28 +01:00
Yiling Lu
2d0f6037f7
docs(tutorial/step-8): link to Protractor rather than ngScenario
...
Angular test runner API has been deprecated, Protractor is advised:
http://docs.angularjs.org/guide/e2e-testing
Link is updated to direct reader to Protractor API.
Closes #7001
2014-04-06 17:34:57 +01:00
Peter Bacon Darwin
ebd9a2a960
chore(docs/app): remove redundant code directive
...
Closes #7000
2014-04-06 17:31:25 +01:00
Peter Bacon Darwin
fcfa6ebb6b
docs(guide/di): clarify what can be injected into what
...
Also do some general housekeeping and tidying of the page.
Closes #6999
2014-04-06 17:25:42 +01:00
Joseph Orbegoso Pea
cf8ed01c6e
docs(tutorial/step-5): clarify inline annotations
...
Closes #6998
2014-04-06 15:22:48 +01:00
Peter Bacon Darwin
c352b92c40
docs(tutorial/step-7): clarify the new files & modules
...
Closes #6996
2014-04-06 14:57:19 +01:00
Thiago Colares
369145467c
docs(tutorial): added a link to Wiki page on DI in Step 7
...
This article is fantastic and really helped on understanding how DI works on Angular. It may be
useful to other beginners -- because, at first glance, this topic (DI on Angular) ended a little bit
hazy for me.
Closes #7010
2014-04-05 13:52:37 -04:00
martco
c3ec6ea226
docs(guide/directive): grammatical fixup
...
The 'to' in 'end-to-end' is directional, not numeric
Closes #6895
2014-04-05 09:49:28 -04:00
Yiling Lu
d7615351df
docs(tutorial): fix links to bower in Step 11
...
Minor change: add missing bower reference link.
Closes #7005
2014-04-05 09:36:03 -04:00
Yiling Lu
d53a787f0d
docs(tutorial): change regexp so that assertion works
...
Need to remove this single space for the regex to work here.
Apparently `getText()` is trimming the text content or something, because there is no good reason
why that space should not be there.
Closes #6985
2014-04-04 18:10:49 -04:00
Yiling Lu
9682bd0c4e
docs(guide/tutorial): make added assertion one which will actually work.
...
Update the by.binding usage to make the test case work.
Closes #6987
2014-04-04 16:40:13 -04:00
Choi YoonSung
4d9efa2f76
docs(tutorial/step-8): module must be loaded in test
...
Closes #6930
2014-04-04 14:13:18 +01:00
Peter Bacon Darwin
f9a7b064a0
docs(tutorial): synchronize with angular-phonecat changes
2014-04-04 14:07:33 +01:00
Peter Bacon Darwin
26ca443c10
chore(docs/app/tutorials): improve helper directives
2014-04-04 14:06:04 +01:00
Peter Bacon Darwin
0f37e49039
docs(tutorial): clean up and elaborate introduction
2014-04-04 10:23:52 +01:00
Peter Bacon Darwin
3fdcde73ae
docs(tutorial): synch step 0 with angular-seed
2014-04-04 08:32:25 +01:00
Joseph Orbegoso Pea
d2dc77169b
docs(guide/scope): small fixes
2014-04-03 16:10:59 -07:00
Martin Jezek
d99b506885
docs(tutorial): fix linked files to bower_components folder
...
Closes #6960
2014-04-03 16:03:26 -07:00
Pascal Precht
71bc451f95
docs(guide): fix link in "Complementary libraries" section
...
the link to `angular-translate` is outdated. this commit fixes it.
2014-04-03 09:27:51 -07:00
Stephanie Nacios Staub
6da44a4410
docs(tutorial): update instructions for running tests in step 2
...
Fixing outdated instructions on how to run the test
Closes #6972
2014-04-03 01:02:37 -04:00
Yiling Lu
102a3201c1
docs(tutorial): remove reference to old webserver script
...
script/web-server.js is not present anymore. This doc might be referencing a previous version of the
code. Currently the only way to start the server seems to be using "npm start".
Closes #6966
2014-04-03 00:00:30 -04:00
Jonathan Woodard
59244a7776
docs(guide/bootstrap): remove extra call to angular.module()
...
There was an extra call to angular.module() not being used in 'getter' mode. While this doesn't
break the demo app, it does look kind of weird, so lets toss it.
Closes #6969
2014-04-02 23:57:16 -04:00
Julie
5393814756
docs(tutorial): update tutorial steps to discuss protractor
...
Closes #6940
2014-04-02 08:47:46 -04:00
Peter Bacon Darwin
e145a8df72
docs(tutorial): update to match changes to phonecat
2014-04-01 18:22:47 +01:00
Peter Bacon Darwin
b49d0cc6e7
docs(css): ensure all type-hints have a background color
...
If the type of a type-hint was not recognized, say a "Promise", then
the background color was left as white. Given that the default
foreground color is also white, this meant that such type-hints were
invisible.
Closes #6934
2014-04-01 13:51:15 +01:00
Joseph Orbegoso Pea
245de33c00
docs(guide/bootstrap): add note about ngApp and manual bootstrap
2014-03-31 16:58:34 -07:00
mrmrs
7287dbf71d
chore(docs): remove px declaration from x,y coordinates in header svg
2014-03-28 17:07:20 -04:00
Diego Algorta
eaf1f8546d
docs(faq): fix link to Closure Library
...
The previous link throws a 404.
2014-03-28 17:07:03 -04:00
John K. Paul
20d926cc45
docs(guide/directive): fix broken link
...
Fix broken internal link in directive documentation.
Closes #6802
2014-03-28 17:06:52 -04:00
Sekib Omazic
9ae9c1c0da
docs(error/ng/btstrpd): fix typo in error page
...
Minimal typo fix
Closes #6803
2014-03-28 17:06:16 -04:00
tamakisquare
0d62257c5f
docs(guide/filter): mention that filters can be used in directives
...
The doc mentions filters can be used in services and controllers but directives
aren't mentioned. This could lead to confusion for beginners.
2014-03-27 15:37:29 -07:00