Add Tag-Input in AngularJS

Last Reply 11 months ago By dharmendr

Posted 11 months ago

Hi all

How To display the tags input in angularjs

and also how to upload attachment using angularjs

thanks and regards


You are viewing reply posted by: dharmendr 11 months ago.
Posted 11 months ago Modified on 11 months 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