I'm new to Angular, but I was wondering am I able to use a JS variable within an AngularJS expression (not sure if it's called an expression). The simplest way I can demonstrate is this:
<code>
<script src= "http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>
<script>
var number = 10;
</script>
<div ng-app="">
<p>My expression: {{ 5 + number}}</p>
</div>
</code>
Is there a way I do this?