1
0
spogulis no https://github.com/MinimalBible/MinimalBible synced 2025-06-30 13:25:54 -04:00

Continued angular work

I probably should note - I'm including the dist/ folder in Git because I'm not expecting everyone to have gulp/dependencies installed. Easier to hack through if you can actually build and run only the Java section of code!
Šī revīzija ir iekļauta:
Bradlee Speice
2014-09-01 11:07:24 -04:00
vecāks 1255580b7a
revīzija 1911f3128a
3 mainīti faili ar 14 papildinājumiem un 6 dzēšanām

Parādīt failu

@ -1,8 +1,10 @@
<html lang="en" ng-app>
<html lang="en" ng-app="bookApp">
<head>
<script type="text/javascript" src="file:///android_asset/dist/book-bundle.js"></script>
</head>
<body>
<div id="content">Hello {{ 'Android!' }}</div>
<body ng-controller="BookCtrl">
<div ng-repeat="verse in verses">
{{ verse.text }}
</div>
</body>
</html>

Faila izmaiņas netiek rādītas, jo viena vai vairākas līnijas ir pārāk garas

Parādīt failu

@ -1,3 +1,9 @@
require 'angular'
console.log 'hello'
app = angular.module('bookApp', [])
app.controller 'BookCtrl', ['$scope', ($scope) ->
$scope.verses = [
{'text': 'hello.'}
];
]