| 1. |
How To Integrate Flot With Angularjs? |
|
Answer» Since charting involves heavy DOM MANIPULATION, directives are the way to go. Data can be kept in the Controller App.controller('Ctrl', function($scope) { And you can create a custom HTML tag1 SPECIFYING the model you want to get data from <chart ng-model='data'></chart> Since charting involves heavy DOM manipulation, directives are the way to go. Data can be kept in the Controller App.controller('Ctrl', function($scope) { And you can create a custom HTML tag1 specifying the model you want to get data from <chart ng-model='data'></chart> |
|