These are chat archives for filearts/plunker

29th
Jun 2017
Samer taha
@zoro12
Jun 29 2017 07:23
anyone know how i share a new created plunk with somebody ? i give the edit url or what url ?
for example here is the edit url i see while editing my code : https://plnkr.co/edit/znqRQd?p=gitter
i want to ask a question in stackoverflow about this plunk what is the right url i should post there for people so they can view/fork .... ?
Samer taha
@zoro12
Jun 29 2017 07:31
Aryan Ravi
@AryanRavik_twitter
Jun 29 2017 15:35
hi
its my first time at angular
nd its very small thing
but not able to get result
plz help
i am not sure what i am doing wrong..hardly a fucntion with hellp word
Aryan Ravi
@AryanRavik_twitter
Jun 29 2017 15:43
<body ng-Controller ="MainController">
<h1>{{message}}</h1>
</body>

var MainController = fucntion($scope) {
$scope.message = "hello";

};

[$controller:ctrlreg] The controller with the name 'MainController' is not registered.
Uncaught ReferenceError: fucntion is not defined
Tobias Müller
@KDingeling
Jun 29 2017 17:45
you have to declare the controller with angular.module
and you are missing the ng-app directive
ah no its there
try this in html: <html ng-app="app">
and in js: angular.module("app", []).controller("MainController", function($scope) {
$scope.message = "hello";
});
jukes73
@jukes73
Jun 29 2017 17:59
Guys how do i change text code color ?
everyone have nice color , i just have very bright green/blue
hard to see