IzzyTwinkly
asked on
what's wrong with binding expression?
Hi,
I am using plnkr.co editor for AngularJS practice and this is my first code, but it doesn't work correctly.
Can you tell me what I did wrong in my code below? When I type '{{ 843 / 42 }}', I am supposed to have a calculated value as an output, but I am not getting this value.
The Result:
Hello Plunker!
{{ 843 / 42 }}
I am using plnkr.co editor for AngularJS practice and this is my first code, but it doesn't work correctly.
Can you tell me what I did wrong in my code below? When I type '{{ 843 / 42 }}', I am supposed to have a calculated value as an output, but I am not getting this value.
<!DOCTYPE html>
<html>
<head>
<script data-require="angular.js@*" data-semver="2.0.0-alpha.31" src="https://code.angularjs.org/2.0.0-alpha.31/angular.js"></script>
<link rel="stylesheet" href="style.css" />
<script src="script.js"></script>
</head>
<body ng-app>
<h1>Hello Plunker!</h1>
{{ 843 / 42 }}
</body>
</html>
The Result:
Hello Plunker!
{{ 843 / 42 }}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER