JSFiddle

  • angular input directives

    No-Library (pure JS), HTML, CSS, JavaScript

    angular.module('myapp', [])
        .controller('myForm', ['$scope', function ($scope) {
        $scope.title = "date directive";
        $scope.form = {
            date: new Date(2013, 9, 22 ...
  • angular checkbox input directive

    No-Library (pure JS), HTML, CSS, JavaScript

    angular.module('mymod', []);
    
    angular.module('mymod', [])
        .controller('myController', ['$scope', function ($scope) {
        $scope.title = "angular checkbox directives";
            $scope.form = {
                checkbox : 'YES ...
  • angular input directive

    No-Library (pure JS), HTML, CSS, JavaScript

    angular.module('myapp', [])
    .controller('myFormCtrl', function($scope) {
        $scope.title = 'angular input directives';
        
        $scope.submit = function() {
            console.log('submitting form', arguments ...
  • angular.uppercase() #2 is the latest revision

    No-Library (pure JS), HTML, CSS, JavaScript

    var foo = "ajaj kdkd lLL djjNNNkjkjk";
    
    console.log(angular.uppercase(foo));
  • angular.uppercase()

    No-Library (pure JS), HTML, CSS, JavaScript

    var foo = "ajaj kdkd lLL djjNNNkjkjk";
    
    console.log(angular.uppercase(foo));
  • angular.toJson() #38 is the latest revision

    No-Library (pure JS), HTML, CSS, JavaScript

    var src = {
        name: 'Richard',
        likes: {
            fruit: [
                'apples', 'bananas', 'grapefruit']
        }
    };
    
    var json = angular.toJson(src);
    
    console.log(json);
    
    console.log(angular ...
  • angular.noop() #3 is the latest revision

    No-Library (pure JS), HTML, CSS, JavaScript

    var seinfield = angular.noop();
    console.log(seinfield);  //  undefined
  • angular.module()

    No-Library (pure JS), HTML, CSS, JavaScript

    angular.module('myapp', []);
    
    //  retrieve module here. This could obviously be in a different file.
    angular.module('myapp')
    .controller('fooctrl', ['$scope ...
  • angular.merge() #15 is the latest revision

    No-Library (pure JS), HTML, CSS, JavaScript

    var src = {
        name: 'Richard',
        likes: {
            fruit: [
                'apples', 'bananas', 'grapefruit']
        }
    };
    
    var dest = angular.merge({}, src);
    
    dest.likes.fruit.push('orange');
    
    //  no ...
  • angular.lowercase()

    No-Library (pure JS), HTML, CSS, JavaScript

    
    console.log(angular.lowercase('Hello I LoVE YOU wont You telL Me YOUR name?')); //  true