File: src/packages/common/components/navbar/components/navbar-component.js

Recommend this page to a friend!
  Classes of Alien Fernandez   Seed Sails Angular   src/packages/common/components/navbar/components/navbar-component.js   Download  
File: src/packages/common/components/navbar/components/navbar-component.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Seed Sails Angular
Full stack framework based on Sails, Node, Angular
Author: By
Last change: Update of src/packages/common/components/navbar/components/navbar-component.js
Date: 3 years ago
Size: 648 bytes
 

Contents

Class file image Download
import commonModule from '../../../commonModule'; //Import template import NavBarTpl from '../views/navbar-view.tpl'; //console.log("NavBarTpl", NavBarTpl); /** * @ngdoc component * @name navbar * @author Alien Fernandez Fuentes <alienfernandez85@gmail.com> * @version 1.0.0 * * @description navbar * */ commonModule.component('navbar', { restrict: 'E', //replace: true, templateUrl: ($element, $attrs) => { //console.log("NavBarTpl.name", NavBarTpl.name); return NavBarTpl.name; }, controller: 'NavbarController as navbarCtrl', bindings: { user: '=' } }); export default commonModule;