AngularJS: ng-if, ng-repeat, ng-show, ng-hide and Bootstrap CSS framework integration

  Рет қаралды 50,006

Tech CBT

Tech CBT

Күн бұрын

Covers the following:
-How to do a simple search for records using AJAX together with AngularJS
-How to integrate Bootstrap CSS framework as part of AnguarJS application
-How to use ng-if, ng-show and ng-hide
-Differences between ng-if and ng-show/ng-hide
-How to work with ng-repeat
-How to display multiple records using ng-repeat
-How to fetch multiple rows through AJAX and bind using ng-repeat
-How to make using ng-if/ng-show inside ng-repeat
-Inspect various scope object when dealing with ng-if and ng-show
Source code: www.techcbt.com...

Пікірлер: 38
@shivanisehdev8817
@shivanisehdev8817 6 жыл бұрын
very well explained. I suggest even if someone starting to go with Angular v2, Must go through these videos too. It just gives you all you need for angular.
@vishnubenny
@vishnubenny 7 жыл бұрын
A different level tutorial... Hat's off man... Greetings from a beginner...
@mohammadadilalam7185
@mohammadadilalam7185 8 жыл бұрын
and one thing more I want to say , some of tutorials on KZbin are only seen on desktop but I thank you your tutorial are good at phone also.
@Techcbt-online
@Techcbt-online 8 жыл бұрын
Thanks Adil.
@jeannemccabe5752
@jeannemccabe5752 7 жыл бұрын
Thank you for this comprehensive series. Listening to the jargon repeatedly helps!!!
@Techcbt-online
@Techcbt-online 7 жыл бұрын
Sorry for the jargon. Couldn't help better at the moment. Hopefully it gets improved eventually. Thanks for encouraging us. Thanks a ton.
@chengtie
@chengtie 8 жыл бұрын
nice video... btw, could you please tell me which "color theme" of sublime text you used in the video? additionally, did you use a particular font?
@Techcbt-online
@Techcbt-online 8 жыл бұрын
Thanks. It is "Dawn". No additional fonts.
@soccerwithcoachtomiwa5803
@soccerwithcoachtomiwa5803 5 жыл бұрын
please i am having issues with the node api .The link you gave is outdated. i have tried to develop my own api but i cant get it right.
@deenmehta7425
@deenmehta7425 8 жыл бұрын
Hi Please help on the below:- Print the JSON in angular js, I can see the output in console, but not able to print the same in screen even not getting any error in log.Below are the code: Enter Employee Number Search Employee Number {{empNo}} Employee Name {{empName}} Employee Post {{empPost}} Employee Salary {{empSal}} ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- var myApp = angular.module('myApp',[]); myApp.controller('myCtrl',['$scope','$log','empService', function($scope,$log,empService){ $log.log('Inside controller'); $scope.doSearch = function(){ empService.findEmpById($scope.searchEmpNum,function(r){ $scope.empNo= r.empNo; $scope.empName= r.empName; $scope.empPost= r.empPost; $scope.empSal= r.empSal; }); } }]) myApp.service('empService',['$log','$http',function($log,$http){ $log.log('Instantiating empService'); this.findEmpById =function(empNo,cb){ alert("Hello"); $http({ url:'localhost:8085/empinfosystemnew/rest/allEmployee/' + empNo, method:'GET' }) .success(function(response){ $log.log(response.singleEmployee); cb(response.singleEmployee); }, function(response){ $log.log('Some error occured'); }) } }]) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [Object] 0 : Object empName : "JONNY" empNo : "7610" empPost : "DOCTOR" empSal : "50000" __proto__ : Object length : 1
@prabhakaranm8235
@prabhakaranm8235 4 жыл бұрын
Sir, how to build Rest Api.
@MrPulkitg1708
@MrPulkitg1708 7 жыл бұрын
Thank you Sir! I am stuck at a particular case. When we search the Employee records based on an ID and that ID is not present, I am getting the below error: "TypeError: Cannot read property 'ID' of null" The line where the error is coming, is where the $scope member is being assigned the ID. (empService.GetEmployeeById($scope.searchEID, function (r) { $scope.eid = r.ID; ......) Could you please assist on how to handle this?
@Techcbt-online
@Techcbt-online 7 жыл бұрын
try "if (r) {$scope.eid = r.ID;}"
@chengjinfei8139
@chengjinfei8139 7 жыл бұрын
amazing ~real world angularJS development workflow ! please cover improve performance of NG-repeat and ng-class
@Techcbt-online
@Techcbt-online 7 жыл бұрын
Thank you..will see what we can
@banuprakashnagumothu
@banuprakashnagumothu 7 жыл бұрын
In which video you explained how to reduce the ng-repeat scope data
@Techcbt-online
@Techcbt-online 7 жыл бұрын
We did not. The topics related to performance and patterns are not covered yet. We are busy with Angular 2 series now. We will be back once that series is completed. Keep tuned.
@aalokitchhabra9031
@aalokitchhabra9031 6 жыл бұрын
@@Techcbt-online Sir any updates on your angular 2 series. please let me know about the link to get the series.
@advancecodes4878
@advancecodes4878 6 жыл бұрын
Sir where have come employee data,,,,,, it is from database,is't it?
@rahulismyid
@rahulismyid 7 жыл бұрын
That is a great tutorial. However i have a question... what is the difference between ng-click and ng-submit. Can u please explain about this? That'll help a lot.
@rotrose7531
@rotrose7531 4 жыл бұрын
This is a super great series, but without the employee apis, it is a pain to follow it. can you please kindly point out where the employee api was created. I am happy to follow.
@marrakulamurugan8226
@marrakulamurugan8226 7 жыл бұрын
Hi Tech CBT , your way of explanation is awesome ...But we need one crud application with the combination of rUI Router and Bootstrap with beautiful tables.... Please sir i am requesting you guys please make that videos as soon as possible many people are waiting for full length crud app
@Techcbt-online
@Techcbt-online 7 жыл бұрын
Will do eventually. Thanks.
@benzrioualsouhail478
@benzrioualsouhail478 7 жыл бұрын
That is a great tutorial, I'm realy respecting u man ty a lot. one qst plz where can I find the web service Employe bcz the link in the description dosn't work and thank you again.
@deepakbellodi5917
@deepakbellodi5917 6 жыл бұрын
source code link is not working please update with correct link in the discription/
@radhikagupta2313
@radhikagupta2313 7 жыл бұрын
Hi what can be done if this is the issue: ngShow (if)"strName == '-place your name here-'" Output 'Awesome name!' ngHide (else)"strName == '-place your name here-'" Output strName, ' is a not my name'
@Techcbt-online
@Techcbt-online 7 жыл бұрын
jsfiddle?
@EliteCameraman6
@EliteCameraman6 8 жыл бұрын
Dear all, please provide me with rest api in order to compete tutorial.
@Techcbt-online
@Techcbt-online 8 жыл бұрын
You can download it from here: www.techcbt.com/Post/354/Angular-JS-basics/how-to-work-with-ng-if-ng-repeat-bootstrap-in-angular-js
@rachitapatrorichi7678
@rachitapatrorichi7678 7 жыл бұрын
Sir, Thanks for the great tutorial and information rich lecture videos but I am stuck in this video. I am unable to build the REST API. I am new to this technology so bit confused. It would be great if you help me with the lecture video of how to build the REST API. I tried this link "www.techcbt.com/Post/354/Angular-JS-basics/how-to-work-with-ng-if-ng-repeat-bootstrap-in-angular-js", mentioned in the earlier post, but its not working
@feihua1807
@feihua1807 7 жыл бұрын
Same question, looking for someone to help Thanks!
@TellaTrix
@TellaTrix 3 жыл бұрын
Video was too long brother try to keep it as sort as possible, I mean around 15 - 20 min max with practical.
@joaorocha278
@joaorocha278 2 жыл бұрын
excelent!!!!
@AshishsinghRawat92
@AshishsinghRawat92 7 жыл бұрын
HI Your videos are really helpful. For learning purpose I started created a APP from scratch. Had some question. 1.How to update the data in ngRepeat. I am loading the data from $https service and showing only 10 objects out of 1000 using limitTo. created the next button which will be showing the next to objects. github.com/ashish9342/yourPlace/blob/dev/app/scripts/controllers/edirectoryCtrl.js#L38 It would be really helpful if you can make a video on this. and help me :)
@deenmehta7425
@deenmehta7425 8 жыл бұрын
This is my json data which i am getting from rest service: { "singleEmployee": [ { "empNo": "7839", "empName": "KING", "empPost": "PRESIDENT", "empSal": "5000" } ] }
@ranjithkea
@ranjithkea 7 жыл бұрын
make shorter videos
AngularJS: How to work with "Filters"
30:54
Tech CBT
Рет қаралды 38 М.
AngularJS: Custom Directives - Getting Started
43:29
Tech CBT
Рет қаралды 125 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
AngularJS: What are Controllers and how to use them
28:13
Tech CBT
Рет қаралды 123 М.
AngularJs: Broadcast, Emit and Custom Events
50:40
Tech CBT
Рет қаралды 33 М.
AngularJS: Understanding RootScope ($rootScope)
24:52
Tech CBT
Рет қаралды 60 М.
Evolution of software architecture with the co-creator of UML (Grady Booch)
1:30:43
The Pragmatic Engineer
Рет қаралды 47 М.
All 29 Next.js Mistakes Beginners Make
1:45:10
ByteGrad
Рет қаралды 155 М.
Angular v19 Developer Event
22:54
Angular
Рет қаралды 70 М.
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,6 МЛН
AngularJS: AJAX using ASP.NET Web API & Node.JS
1:07:02
Tech CBT
Рет қаралды 64 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН