Link to home
Start Free TrialLog in
Avatar of IzzyTwinkly
IzzyTwinklyFlag for United States of America

asked on

what's wrong with binding expression?


I am using 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>

    <script data-require="angular.js@*" data-semver="2.0.0-alpha.31" src=""></script>
    <link rel="stylesheet" href="style.css" />
    <script src="script.js"></script>
  <body ng-app>
    <h1>Hello Plunker!</h1>
    {{ 843 / 42 }}

Open in new window

The Result:
Hello Plunker!
{{ 843 / 42 }}
Avatar of Carl Tawn
Carl Tawn
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of IzzyTwinkly


thanks Carl!