Comments (3)
In this exercise
how is main controller coming to know about the config - constant value and displaying in the html
// now let us first configure our provider
myModule.config(["messageProvider", "messageText", function (messageProvider, messageText) {
messageProvider.setText(messageText);
}]);
myModule.controller("constantController", ["$scope", "message", function ($scope, message) {
$scope.message = message.text;
}]);
<div ng-controller="constantController">{{message}}</div>
from learnangular.
Hi, this issue tracker is for bugs in LearnAngular and not for Angular questions. If you have questions regarding your code, I would recommend you post them on StackOverflow or a similar site.
from learnangular.
Noted.
Can you still give me a brief about my question. It was an important
concept for learning.
On Tue, Aug 9, 2016 at 5:51 PM, Levi Botelho [email protected]
wrote:
Hi, this issue tracker is for bugs in LearnAngular and not for Angular
questions. If you have questions regarding your code, I would recommend you
post them on StackOverflow or a similar site.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#55 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/APd8zRFy2qxYXejHtY0etvOkKiEgDG1Lks5qeHDdgaJpZM4Jdd1j
.
from learnangular.
Related Issues (20)
- Make the left-side menu navigation offer proper links for copying or opening in a new window HOT 3
- Consider using single quotes ' in JavaScript instead of double quotes " HOT 2
- Ambiguous syntax explanation in the $watch tutorial HOT 3
- ... learn which version of angular? HOT 2
- Page Not Found: Dependency injection for five year olds HOT 2
- User data is not being saved in AJAX tutorial HOT 2
- Run not showing results HOT 4
- Amazing explanation HOT 1
- The Value Recipe needs some update HOT 5
- Nice explanation. One more point. HOT 3
- First Lesson: Simple App doesn't display HTML correctly HOT 9
- First lesson bug HOT 2
- Binding CSS classes HOT 1
- extra code in Two-way bindings lesson HOT 1
- aesthetics issue in repeaters HOT 1
- Syntax error causes fields to be uneditable
- lol :D HOT 1
- Where can we find the .css files? HOT 1
- The tutorial no longer work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learnangular.