Add Tag-Input in AngularJS

Last Reply one year ago By dharmendr

Posted one year 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 one year ago.
Posted one year ago Modified on one year 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