Add Tag-Input in AngularJS

Last Reply 9 days ago By dharmendr

Posted 9 days ago

Hi all

How To display the tags input in angularjs

and also how to upload attachment using angularjs

thanks and regards


Posted 9 days ago Modified on 9 days ago

Hi sanvi,

Check this example. Now please take its reference and correct your code.


<script type="text/javascript" src=""></script>
<link rel="stylesheet" href="" />
<script type="text/javascript" src=""></script>
<script type="text/javascript">
    var app = angular.module('MyApp', ['ngTagsInput']);
    app.controller('MyController', function ($scope, $http) {
        $scope.Fruits = [{ text: 'Mango' }, { text: 'Apple' }, { text: 'Orange'}];
<div ng-app="MyApp" ng-controller="MyController" style="height: 200px !important">
    <tags-input ng-model="Fruits"></tags-input>
        Values : {{Fruits}}</p>


For File Upload refer below article.

Upload multiple files with Progress Bar using AngularJS in ASP.Net MVC