Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function() {
- 'use strict';
- var nomeComponente = {
- templateUrl: 'views/componentes/nome-componente.html',
- controller: NomeDoController,
- // transclude: true,
- bindings: {
- bindindValor: "=",
- bindindFuncao: "&"
- }
- };
- angular
- .module('br.com.marcelothebuilder')
- .component('nomeComponente', nomeComponente);
- NomeDoController.$inject = ["$scope"];
- function NomeDoController($scope) {
- var model = this;
- vm.searchText = '';
- model.funcao = funcao;
- function funcao(argumento) {
- }
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement