Global Variables in AngularJS
I’ve followed the angularjs tutorial and I noticed that I wasn’t able to have global variables. Turns out to be actually simple but Angular doesn’t mention it. You will need to edit your app module (app.js ) var app =…
I’ve followed the angularjs tutorial and I noticed that I wasn’t able to have global variables. Turns out to be actually simple but Angular doesn’t mention it. You will need to edit your app module (app.js ) var app =…
So to get started you’re going to need jQuery and the Orbit plugin (make sure jQuery is attached first). <script src=”js” type=”text/javascript”></script> <script src=”js” type=”text/javascript”></script> Now we can quickly hookup the CSS we need: <link rel=”stylesheet” href=”css”> And finally, let’s dig into…