Skip to content

Instantly share code, notes, and snippets.

Avatar
🔮
Magic

Álvaro Medina Ballester alvaromb

🔮
Magic
View GitHub Profile
@alvaromb
alvaromb / Gruntfile.js
Created Feb 24, 2015
Grunt environment settings for AngularJS
View Gruntfile.js
/*global grunt*/
module.exports = function(grunt) {
grunt.initConfig({
ngconstant: {
options: {
name: 'environment',
dest: 'www/js/environment.js',
wrap: "'use strict';\n\n{%= __ngModule %}"
},
View gist:9eae66fb1c1f6f122b9a
<html>
<body><a href="logitonight://">Test</a></body>
</html>