Full Featured Mobile HTML Framework For Building iOS & Android Apps using Angularjs
npm install framework7.angularFramework7 + AngularJS
==========

Full Featured Mobile HTML Framework For Building iOS & Android Apps with the Power of AngularJS.
https://github.com/ashvin777/framework7.angular/
From Bower
``javascript`
bower install framework7.angular`
From NPMjavascript`
npm install framework7.angular
`html`
Then initialize the application by setting angular:true and pushState:true in options
`javascript
var myApp = {};
var mainView = {};
var $$ = Dom7;
angular.module("AngularApp", [])
.run(function() {
myApp = new Framework7({
modalTitle: 'Framework7',
material: true,
pushState: true, //set it true. It will enable the hash based navigation
angular: true //set it to true to enable angular binding in Framework pages
});
mainView = myApp.addView('.view-main', {});
})
`
After this setup, you can define the controller, directives, services, factories or provider as per your requirement. The code structure will remain same as Framework7 standard app.





For now use Framework7 default router http://framework7.io/docs/router-api.html
Controller can be directly assgined to the template root element. By doing so while the Framework7 will initialize the page then AngularJS hooks compiler will compile the template and bind the data based on the scrope of the controller.
So you html template should look like this
`html`
...
...
The templates of side panels, popover, modals etc, wrap them in a element directive and add that directive in html. Like below
Side Panel
`html`
...
...
Directive
`javascript
app.directive("panelLeft", function() {
return {
templateUrl: "panel-left.html"
}
});
app.directive("panelRight", function() {
return {
templateUrl: "panel-right.html"
}
});
`
And defind a controller in the root element of the panels template and use it as required.
Framework7 components can be used as it is. Inside the controller those can be initialize like below
`javascript``
..
.controller("CalendarCtrl", ["$scope", function($scope) {
....
var calendarDefault = myApp.calendar({
input: '#ks-calendar-default',
});
....
}]);
No limitation
ashvin.suthar777@gmail.com
No License is required for this plugin.