Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
app.js
(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
You can’t perform that action at this time.