Last active
March 2, 2016 04:09
-
-
Save hebbian/ef9ec9e13d2e32395818 to your computer and use it in GitHub Desktop.
app.js
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() { | |
var app = angular.module("skeleton-app", []); | |
}()); | |
(function(app) { | |
app.controller('njajalcontroller', function($scope){ | |
$scope.hello = "hahahaha"; | |
}); | |
}(angular.module('app'))); | |
<html ng-app="app"> | |
<head> | |
<script src="bower_component/angular/<path_to_angular.js>"></script> | |
<script src="js/app.js"></script> | |
<script src="js/controllers/njajalcontroller.js"></script> | |
</head> | |
<body ng-controller="njajalcontroller"> | |
{{hello}} | |
</body> | |
</html> | |
var express = require('express'), app=express(); | |
app.use(express.static(__dirname + '/')); | |
app.listen(4321, '0.0.0.0'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment