Angular Basic

In this example below you will see how to do a Angular Basic with some HTML / CSS and Javascript

This awesome code was written by 1kohei1, you can see more from this user in the personal repository.
You can find the original code on
Copyright 1kohei1 ©


  • HTML
  • JavaScript
<!DOCTYPE html>
<html lang="en" >

  <meta charset="UTF-8">
  <title>Angular Basic</title>
  <link rel='stylesheet prefetch' href=''>



  <div ng-app="app">
  <div ng-controller="controller as controller">
    <div ng-repeat="(key, val) in controller.a | filterObjects: {column: 'left'}">
      {{ key }}: {{ val }}
  <script src=''></script>
<script src=''></script>
<script src=''></script>


    <script  src="js/index.js"></script>



/*Downloaded from */
var app = angular.module('app', []);
app.controller('controller', controller);

controller.$inject = ['$timeout'];

function controller($timeout) {
  var _this = this;
  _this.a = {
    a: {
      a: 1,
      column: 'left'
    b: {
      b: 2,
      column: 'right'
    c: {
      c: 3,
      column: 'left'
    d: {
      d: 4,
      column: 'right'