Posts

Showing posts with the label angularjs

Asset.bz Asset / Inventory Management Project

Image
I have found out through my own experiences and that of others, how difficult it is to get ‘sincere’ applause at the end of demo of any beta version software. Yes, you would always get some form of applause, but rarely the ‘sincere’ ones. Software demo for new products in my organization usually has in attendance several employees from different units and departments. Many attend on the basis of obligation while others are just too busy in their heads to give the session the attention it would require in order to appreciate the product being presented. I had to send out reminders to get invitees to leave their seats for the demo of a new product my team just developed. It’s a team of 2, and while I worked at the Front-end with design, branding and development along with the accompanying Mobile App, my partner was in charge of the web services and SQL Server database development. We would be anchoring the demo together, and I was to start the session. We were to receive an ap...

AngularJs Partial Page Controller Code not Executing

Image
Brief So I setup my new web application. I'm developing a web app for Hostel Room reservation and allocation. At my frontend, I'm using a bootstrap framework powered by AngularJs. Hmm! I so much love AngularJs with the ease of use it helps me to present end users of my apps. The Issue I setup a controller for most of my partial pages, however, for one of the pages (clients.html) whose controller (clientCt) is in clients.js, the script doesnt run if I navigate to the page using a link. However, if I reload the entire page while on this partial page, the script would run. Problem I found out that statements in document ready were the ones not getting executed. So, please guys, for your controller Javascript, steer clear of that ever useful document ready block: The Document Ready block $(document).ready(function(){}); Solution: I simply moved my page initialization codes outside the document ready block and pronto! Everything goes back to normal