Simple Angular Tabs
How do I make an simple angular tabs?
What is a simple angular tabs? How do you make a simple angular tabs? This script and codes were developed by Tushar Bandal on 19 December 2022, Monday.
Simple Angular Tabs - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Simple Angular Tabs</title> <link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div ng-app="myTabs" > <div ng-init="tab=1" ng-controller="tabController" class="pageOuter"> <ul class="nav nav-tabs"> <li ng-class="{active: tab == 1}" ><a ng-click="tab = 1" href="#">Tab1</a></li> <li ng-class="{active: tab == 2}" ><a ng-click="tab = 2" href="#">Tab2</a></li> <li ng-class="{active: tab == 3}" ><a ng-click="tab = 3" href="#">Tab3</a></li> </ul> <div class="tab-content"> <div class="tab-pane" ng-class="{active: tab == 1}" ng-show="tab == 1">Tab 1</div> <div class="tab-pane" ng-class="{active: tab == 2}" ng-show="tab == 2">Tab 2</div> <div class="tab-pane" ng-class="{active: tab == 3}" ng-show="tab == 3">Tab 3</div>
</div> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.14/angular.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Simple Angular Tabs - Script Codes CSS Codes
.pageOuter { padding: 10px
}
Simple Angular Tabs - Script Codes JS Codes
var app = angular.module('myTabs', []);
app.controller('tabController', ['$scope', function ($scope) { }
])
Developer | Tushar Bandal |
Username | tusharbandal |
Uploaded | December 19, 2022 |
Rating | 3 |
Size | 1,859 Kb |
Views | 8,096 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Image hover effect. | 1,715 Kb |
Accordian | 2,326 Kb |
Tic Tac Toe game | 2,896 Kb |
Custom Select Box | 2,568 Kb |
Photo gallery | 1,808 Kb |
Drag and drop | 2,459 Kb |
Nav to scroll sections | 2,508 Kb |
CSS3 Gallery | 1,924 Kb |
Mobile Accordion | 2,094 Kb |
CSS3 Form | 1,836 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Twitch API | Coderpilot | 3,412 Kb |
No Vacancy 404 CSS Only | Sethkontny | 0 Kb |
CSS3 Diamond | Rendro | 1,960 Kb |
A Pen by Jess | Jessamyne | 5,100 Kb |
Isometric css island | Xaddict | 2,950 Kb |
Review test | Otro_user_gil | 4,054 Kb |
BlueBox Fork | Huskynation | 12,675 Kb |
Single element checkbox | Ivijaygupta | 1,996 Kb |
Video mute | Leon9208 | 2,131 Kb |
Testing Portfolio Page | Sideshowli | 3,395 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!