This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
angular.module('erpedia-customer-profile', ['ui.router', 'ngResource', 'ngJarvisWidget']); | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section ng-app="erpedia-customer-profile" ui-view> | |
</section> | |
<script> | |
var jsBaseHref = '<?php echo \P\themePath(); ?>customerProfile/assets'; | |
</script> | |
<?php $appJsPath = \P\themePath().'customerProfile/assets/javascript'; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<jarvis-widget padding="false" icon="fa-users" title="Liste des profils clients" padding="false"> | |
<h2>Contenu du widget</h1> | |
<p> | |
Ceci est un exemple de texte + html que l'option transclude inclue dans le template de la directive jarvis-widget. | |
</p> | |
</jarvis-widget> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<article class="col-xs-12" ng-class="'col-lg-' + jarvis_size"> | |
<div class="jarviswidget jarviswidget-color-darken jarviswidget-sortable" id="{{jarvis_id}}" role="widget"> | |
<header role="heading"> | |
<h2><i class="icon" ng-class="'fa ' + jarvis_icon"></i> <span class="widget-title">{{jarvis_title}}</span></h2> | |
<span class="jarviswidget-loader" style="display: none;"><i class="fa fa-refresh fa-spin"></i></span></header> | |
<!-- widget div--> | |
<div role="content" style="display: block;"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('MonApplicationAngularJS') | |
.directive('myHeader', function(){ | |
return { | |
restrict: 'E', | |
templateUrl: 'my-header.html' | |
}; | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<header> | |
<h1>Mon fabuleux site avec AngularJS</h1> | |
</header> |