GithubHelp home page GithubHelp logo

Constant recope about learnangular HOT 3 CLOSED

devpaaji avatar devpaaji commented on June 1, 2024
Constant recope

from learnangular.

Comments (3)

devpaaji avatar devpaaji commented on June 1, 2024

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.

levibotelho avatar levibotelho commented on June 1, 2024

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.

devpaaji avatar devpaaji commented on June 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.