var app = angular.module('plunker', ['ngTagsInput']);

app.controller('MainCtrl', function($scope, $http) {
  // An array of strings will be automatically converted into an 
  // array of objects at initialization
  $scope.superheroes = [
    'Batman', 
    'Superman', 
    'Flash', 
    'Iron Man', 
    'Hulk', 
    'Wolverine', 
    'Green Lantern', 
    'Green Arrow', 
    'Spiderman'
  ];
  
  $scope.log = [];
   
  $scope.loadSuperheroes = function(query) {
    // An arrays of strings here will also be converted into an
    // array of objects
    return $http.get('superheroes.json');
  };
  
  $scope.tagAdded = function(tag) {
    $scope.log.push('Added: ' + tag.text);
  };
  
  $scope.tagRemoved = function(tag) {
    $scope.log.push('Removed: ' + tag.text);
  };
});
<!DOCTYPE html>
<html ng-app="plunker">

  <head>
    <meta charset="utf-8" />
    <title>AngularJS Plunker</title>
    <script>document.write('<base href="' + document.location + '" />');</script>
    <link rel="stylesheet" href="http://mbenford.github.io/ngTagsInput/css/ng-tags-input.min.css" />
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.2/angular.min.js"></script>
    <script src="http://mbenford.github.io/ngTagsInput/js/ng-tags-input.min.js"></script>
    <script src="app.js"></script>
  </head>

  <body ng-controller="MainCtrl">
    <tags-input ng-model="superheroes" 
                placeholder="Add a superhero" 
                replace-spaces-with-dashes="false"
                add-from-autocomplete-only="true"
                on-tag-added="tagAdded($tag)"
                on-tag-removed="tagRemoved($tag)">
      <auto-complete source="loadSuperheroes($query)" 
                     min-length="0" 
                     debounce-delay="0"
                     max-results-to-show="10"></auto-complete>
    </tags-input>
    <p>Model: {{superheroes}}</p>
    <p>Log: {{log}}</p>
  </body>

</html>
[
    "Adam Strange",
    "Ant-Man",
    "Aquaman",
    "Barbara Gordon",
    "Batman",
    "Beast",
    "Black Canary",
    "Black Lightning",
    "Black Panther",
    "Black Widow",
    "Blade",
    "Blue Beetle",
    "Booster Gold",
    "Bucky Barnes",
    "Captain America",
    "Captain Britain",
    "Captain Marvel",
    "Catwoman",
    "Cerebus",
    "Cyclops",
    "Daredevil",
    "Dashiell Bad Horse",
    "Deadpool",
    "Donna Troy",
    "Dr. Strange",
    "Dream of the Endless",
    "Elijah Snow",
    "Flash",
    "Fone Bone",
    "Gambit",
    "Ghost Rider",
    "Green Arrow",
    "Groo",
    "Green Lantern",
    "Hawkeye",
    "Hawkman",
    "Hellboy",
    "Human Torch",
    "Invisible Woman",
    "Iron Fist",
    "Iron Man",
    "James Gordon",
    "Jean Grey",
    "Jesse Custer",
    "John Constantine",
    "Jonah Hex",
    "Judge Dredd",
    "Ka-Zar",
    "Kitty Pryde",
    "Luke Cage",
    "Martian Manhunter",
    "Marv",
    "Michonne",
    "Mitchell Hundred",
    "Moon Knight",
    "Nick Fury",
    "Nightcrawler",
    "Nova",
    "Professor X",
    "Punisher",
    "Raphael",
    "Reed Richards",
    "Renee Montoya",
    "Rick Grimes",
    "Robin",
    "Rorschach",
    "Savage Dragon",
    "Scott Pilgrim",
    "Sgt. Rock",
    "She-Hulk",
    "Silver Surfer",
    "Spawn",
    "Spider-Man",
    "Spider Jerusalem",
    "Storm",
    "Sub-Mariner",
    "Superboy",
    "Supergirl",
    "Superman",
    "Swamp Thing",
    "The Atom",
    "The Crow",
    "The Falcon",
    "The Hulk",
    "The Rocketeer",
    "The Spectre",
    "The Spirit",
    "The Thing",
    "The Tick",
    "Thor",
    "Usagi Yojimbo",
    "Wasp",
    "Wildcat",
    "Wolverine",
    "Wonder Woman",
    "Yorick Brown"
]