Skip to content

Instantly share code, notes, and snippets.

Avatar

Rafael Camargo rafaelcamargo

View GitHub Profile
View bottle.html
<div class=”bottle”>
<div class=”bottle-content”></div>
</div>
@rafaelcamargo
rafaelcamargo / dev.js
Last active Aug 31, 2017
Handling environment variables in the browser
View dev.js
window.ENV = {
TYPE: 'dev'
};
@rafaelcamargo
rafaelcamargo / app.html
Last active Jan 14, 2018
Brazilian Real currency filter for AngularJS
View app.html
<!DOCTYPE html>
<html>
<head>
<script data-require="angular.js@1.6.0" data-semver="1.6.0" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.0/angular.js"></script>
</head>
<body ng-app="app">
<div ng-controller="appCtrl as ctrl">
<div>