var app = angular.module('plunker', ['ngTagsInput']);
app.config(function(tagsInputConfigProvider) {
tagsInputConfigProvider.setDefaults('tagsInput', {
placeholder: 'New tag',
removeTagSymbol: '✖'
})
});
app.controller('MainCtrl', function($scope) {
$scope.tags1 = ['Tag 1', 'Tag 2'] ;
$scope.tags2 = ['Tag 3', 'Tag 4', 'Tag 5'] ;
$scope.tags3 = ['Tag 6'];
});
<!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="tags1"></tags-input>
<tags-input ng-model="tags2"></tags-input>
<tags-input ng-model="tags3"></tags-input>
</body>
</html>