Bohn Bohn - 1 year ago 162
Javascript Question

Angular not working on Plunker

I launched Plunker and used their add button to add

to my project.

But it is not working. When I use the view tab, it is just showing the angular expression like a normal text.

Here is what Plunker looked like:

<!DOCTYPE html>

<script data-require="angular.js@*" data-semver="2.0.0" src=""></script>
<link rel="stylesheet" href="style.css" />
<script src="script.js"></script>

<body ng-app>
<h1>Hello Plunker!</h1>
{{ 20 / 4 }}


Answer Source

You are using the angular version 2.0 you should replace with 1.x

  <script   src=""></script>


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download