JSFiddle

  • angular ng-bind-template

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

    angular.module('myapp', ['ngSanitize'])
    .controller('foo', function($scope) {
        $scope.firstname = 'Richard';
        $scope.lastname = 'Hunter';
    });
    
    angular.bootstrap(document, ['myapp']);
  • angular ng-bind-html #147 is the latest revision

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

    
    angular.module('myapp', ['ngSanitize'])
    .controller('foo', function($scope) {
        $scope.bar = "<h1>this is bar</h1>";
    });
    
    angular.bootstrap(document, ['myapp']);
  • angular ng-app #17 is the latest revision

    AngularJS 1.2.1, HTML, CSS, JavaScript

    function foo($scope) {
        $scope.bar = "this is bar";
    }
  • angular ng-app

    AngularJS 1.2.1, HTML, CSS, JavaScript

    function foo($scope) {
        $scope.bar = "this is bar";
    }
  • 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() #27 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 ...