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:
@ -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
@ -1,3 +1,9 @@
|
||||
require 'angular'
|
||||
|
||||
console.log 'hello'
|
||||
app = angular.module('bookApp', [])
|
||||
|
||||
app.controller 'BookCtrl', ['$scope', ($scope) ->
|
||||
$scope.verses = [
|
||||
{'text': 'hello.'}
|
||||
];
|
||||
]
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user