Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit edc1a96

Browse files
committed
switch from ng:foo to ng-foo
1 parent 88134e8 commit edc1a96

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

public/index.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html lang="en" ng:app="tunesApp">
2+
<html lang="en" ng-app="tunesApp">
33
<!-- also try using the "tunesAppFake" module instead and uncomment angular-mocks.js below -->
44
<head>
55
<meta charset="utf-8">
@@ -16,35 +16,35 @@
1616
<script src="js/Tunes.js"></script>
1717
</head>
1818

19-
<body ng:controller="TunesCtrl">
19+
<body ng-controller="TunesCtrl">
2020
<div id="container">
2121
<div class="playlist">
2222
<h1>Playlist</h1>
2323
<nav>
24-
<button class="control play" ng:click="player.play()" ng:hide="player.playing">Play</button>
25-
<button class="control pause" ng:click="player.pause()" ng:show="player.playing">Pause</button>
26-
<button class="control prev" ng:click="player.previous()">Prev</button>
27-
<button class="control next" ng:click="player.next()">Next</button>
24+
<button class="control play" ng-click="player.play()" ng-hide="player.playing">Play</button>
25+
<button class="control pause" ng-click="player.pause()" ng-show="player.playing">Pause</button>
26+
<button class="control prev" ng-click="player.previous()">Prev</button>
27+
<button class="control next" ng-click="player.next()">Next</button>
2828
</nav>
2929
<ul class="albums">
30-
<li class="album" ng:repeat="album in player.playlist"
31-
ng:class="player.current.album == $index && 'current'">
32-
<button class="queue remove" ng:click="player.playlist.remove(album)"></button>
30+
<li class="album" ng-repeat="album in player.playlist"
31+
ng-class="player.current.album == $index && 'current'">
32+
<button class="queue remove" ng-click="player.playlist.remove(album)"></button>
3333
<span class="album-title">{{album.title}}</span>
3434
<span class="artist-name">{{album.artist}}</span>
3535
<ol class="tracks">
36-
<li ng:repeat="track in album.tracks" class="track"
37-
ng:class="player.current.track == $index && 'current'"
38-
ng:click="player.play($index, $parent.$index)">{{track.title}}</li>
36+
<li ng-repeat="track in album.tracks" class="track"
37+
ng-class="player.current.track == $index && 'current'"
38+
ng-click="player.play($index, $parent.$index)">{{track.title}}</li>
3939
</ol>
4040
</li>
4141
</ul>
4242
</div>
4343
<section class="library">
4444
<h1>Music Library</h1>
4545
<ul class="albums">
46-
<li class="album current" ng:repeat="album in albums">
47-
<button class="queue add" ng:click="player.playlist.add(album)"></button>
46+
<li class="album current" ng-repeat="album in albums">
47+
<button class="queue add" ng-click="player.playlist.add(album)"></button>
4848
<span class="album-title">{{album.title}}</span>
4949
<span class="artist-name">{{album.artist}}</span>
5050
</li>

0 commit comments

Comments
 (0)