Skip to content

alex-okrushko/Meteor_angularjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Angularjs in Meteor ##How to use it Meteorite package works again. Add these files to the packages directory of your meteor install in a directory called angularjs. Then in your project do:

meteor add angularjs

The angularjs app is always called meteorapp.

angular.module('meteorapp', []).
    config(['$routeProvider', function($routeProvider) {
    $routeProvider.
         when('/index', {templateUrl: 'partials/index.html',   controller: MeteorCtrl}).
         otherwise({redirectTo: '/'});
}]);

###Directory structure

 /public
     /partials
     angular.html(Main screen should contain body content)

###Usage Will be updated for the new release

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%