https://github.com/angular/angular.js/wiki/Writing-AngularJS-Documentation http://codetunnel.io/angularjs-controller-as-or-scope/ https://medium.com/@housecor/angular-2-versus-react-there-will-be-blood-66595faafd51#.b1tlkvmbv http://swirlycheetah.com/native-bind-once-in-angularjs-1-3/
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
"use strict"; | |
var myAPP; | |
myAPP = angular.module("myAPP", ["ngRoute"]); | |
/** | |
* database factory | |
* | |
* @get -> get your database |
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
module.exports = function (grunt) { | |
'use strict'; | |
grunt.initConfig({ | |
connect: { | |
server: { | |
options: { | |
protocol: 'http', | |
port: 9001, | |
livereload: true, | |
keepalive: true |
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
//==================== | |
// Font-family | |
//==================== | |
$font-family: "chevinpro"; | |
$font-family-italic: "chevinpro-italic"; | |
$font-family-bold: "chevinpro-bold"; | |
$font-family-bold-italic: "chevinpro-bolditalic"; |
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
module.exports = function(grunt) { | |
'use strict'; | |
require('load-grunt-tasks')(grunt); | |
grunt.initConfig({ | |
sass: { | |
options: { | |
sourceMap: false | |
}, | |
dist: { |
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
{ | |
"name": "", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "", | |
"license": "ISC", |
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
module.exports = function (grunt) { | |
'use strict'; | |
grunt.initConfig({ | |
connect: { | |
server: { | |
options: { | |
protocol: 'http', | |
port: 9001, | |
livereload: true, | |
keepalive: true |
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
module.exports = function(grunt) { | |
'use strict'; | |
grunt.initConfig({ | |
}; |
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
O Abacaxi | |
João trabalhava em uma empresa há muitos anos. Funcionário sério, dedicado, cumpridor de suas obrigações e, por isso mesmo, já com seus 20 anos de casa. | |
Um belo dia, ele procura o dono da empresa para fazer uma reclamação: | |
— Patrão, tenho trabalhado durante estes 20 anos em sua empresa com toda a dedicação, só que me sinto um tanto injustiçado. | |
O Juca,que está conosco há somente três anos, está ganhando mais do que eu. | |
O patrão escutou atentamente e disse: | |
— João, foi muito bom você vir aqui. | |
Antes de tocarmos nesse assunto, tenho um problema para resolver e gostaria da sua ajuda. | |
Estou querendo dar frutas como sobremesa ao nosso pessoal após o almoço. | |
Aqui na esquina tem uma quitanda. Por favor, vá até lá e verifique se eles têm abacaxi. |
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() { | |
'use strict'; | |
angular | |
.module('app') | |
.filter('telephone', telephone) | |
.filter('cpf', cpf) | |
.filter('cep', cep); | |
function telephone() { | |
return function(str) { |
OlderNewer