There were various reasons why I avoided Javascript in the past, but when I finally did decide to get serious I was coming from actionscript, java, and other languages with eclipse editors, special library files, and a basic manual process for extending the api that's available in your code. For example, in actionscript 3 if you want to add a third party library you would download the swc file and add it in the build path of your project. Then the imports and code completion for the new library work like magic. In javascript it's a little different.
|
Bootstrap, the "Import" of Javascript
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> </body> </html>
Bootstrapping in Angular
<div ng-app="MyModuleName">