--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.
Bernhard Rode
M.Sc. (Master of Computer Science and Media)
fon +49.171.5629409
mail ma...@bernhardrode.de
twitter @ebbo
google+ google.com/+BernhardRode
twitter twitter.com/ebbo
facebook facebook.com/bernhard.rode
--
.value('config',{}) will be set as soon as the application starts and available anywhere it is injected.
It just happens to be named config in this example, it could be named anything, for example .value('foo',{bar:'baz'})
app.run(function ($rootScope) {
$rootScope.someData = {message: "hello"};
});--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/wMjutZlWq54/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.