1
Hamid Khan
Thanks for your reply, but this will work for the normal angular apps. My app is built using Yeoman scaffolding
1
You can do it by using angular.bootstrap() function
- <html>
- <body>
- <div ng-controller="Ctrl">
- Hello {{msg}}!
- </div>
- <script src="lib/angular.js"></script>
- <script>
- var app = angular.module('myApp', []);
- app.controller('Ctrl', function ($scope)
- { $scope.msg = 'World';
- });
-
- angular.element(document).ready(function () {
- angular.bootstrap(document, ['myApp']);
- }); </script>
- </body>
- </html>
1
Hi Maram,
Please go through with these link:
https://www.addwebsolution.com/blog/create-angularjs-app-yeoman-grunt-and-bower
https://www.airpair.com/js/using-angularjs-yeoman
you can download the sample from below link:
https://github.com/yeoman/generator-angular
you can learn from basics :
https://www.toptal.com/angular-js/your-first-angularjs-app-part-2-scaffolding-building-and-testing