Skip to content

Instantly share code, notes, and snippets.

@cmcdevitt
Created December 5, 2013 02:11
Show Gist options
  • Save cmcdevitt/7799076 to your computer and use it in GitHub Desktop.
Save cmcdevitt/7799076 to your computer and use it in GitHub Desktop.
Sample UI Page that loads Bootstrap and Angularjs
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<!-- Start HTML -->
<link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css"></link>
<h1>Hello World!</h1>
<p class="text-danger">Danger</p>
<div ng-app='' class='ng-cloak container'>
Write some text in textbox:
<input type="text" ng-model="sometext" />
<p class="text-success">{{ sometext }}</p>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.1/angular.min.js"></script>
<!-- End HTML -->
</j:jelly>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment