• This project
    • Loading...
  • Sign in

홍길동 / onos

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • onos
  • ..
  • js
  • ch03-controller.js
  • Simon Hunt's avatar
    GUI -- separated glyph data from glyph code. · 4afa61d3 ...
    4afa61d3
     - moved _sdh/* and _bripc/* to _dev
    
    Change-Id: Iaeb5c416e1566aeb920b9c5b8692151305efcfca
    Simon Hunt authored 2016-02-23 17:51:24 +0000
ch03-controller.js 433 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// Simple controller

angular.module('notesApp', [])
    .controller('ListCtrl', [function () {
        var self = this;
        self.items = [
            {id: 1, label: 'First', done: true},
            {id: 2, label: 'Second', done: false}
        ];

        self.getDoneClass = function (item) {
            return {
                finished: item.done,
                unfinished: !item.done
            };
        };
    }]);