These are chat archives for filearts/plunker

20th
Dec 2015
ksanketrao
@ksanketrao
Dec 20 2015 05:55
Hi My basic code is not running
can someone help me
its not recognizing ng-app
directive

<!DOCTYPE html>

<html>

<head>
<script src="https://code.angularjs.org/2.0.0-alpha.45/angular2.js" data-require="angular.js@*" data-semver="2.0.0-alpha.45"></script>
<link href="style.css" rel="stylesheet" />
<script src="script.js"></script>
</head>

<body ng-app>
<h1>Hello Plunker!</h1>
{{ 33+33 }}

</body>

</html>

'I still see {{ 33+33}} on plunkr review
can anyy1 help
ksanketrao
@ksanketrao
Dec 20 2015 06:17
Got the reason
Thanks
pbastowski
@pbastowski
Dec 20 2015 09:41
@ksanketrao ng-app is an Angular1 directive. I haven't tried using it with Angular2, but, I would imagine it does not work. The normal way to bootstrap apps in Angular2 is using the bootstrap() method.
ksanketrao
@ksanketrao
Dec 20 2015 17:37
Thanks a lot for the answer