Created
July 1, 2015 05:55
-
-
Save DinisCruz/14d79674dd2a30e66d31 to your computer and use it in GitHub Desktop.
PoC of Angular, Jade and CoffeeScript (with auto compile)
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
extends ../../../TM_Jade/_layouts/page_logged_out.jade | |
block content | |
script(src='/angular/js/lib.js') | |
#application | |
.row | |
.col-3 | |
.col-3 | |
div(ng-controller="TestController") | |
h1 {{title}} | |
input(type="text" ng-model="title" ) | |
script(type='text/coffeescript'). | |
app = angular.module('App', []) | |
app.controller 'TestController', ($scope)-> | |
$scope.title = 'this is from the controller :)' | |
angular.bootstrap document, ["App"] |
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
QA_TM_Design = require '../API/QA-TM_4_0_Design' | |
describe '| flare | pages-anonymous.test |', -> | |
page = QA_TM_Design.create(before, after); | |
it.only '/angular/html/index', (done)-> | |
page.open '/angular/html/index.html',-> | |
done() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment