Showing posts from May, 2016

How to Remove the "#" Sign from AngularJS URLs

By default, AngularJS will route URLs with a hashtag like below- For Example: http://example.com/ http://example.com/#/about http://example.com/#/contact It is very easy to get clean URLs and remove the hash tag from the URL. There…

How to set sessions in Node JS

I am working with the session today in my current node js project. Actually i am creating a login page where i need to save user data in session and display him successfully logged in page. First of all you need to install express node module "…

How to do pdf password protected in node js

Today i have a requirement in my node js project to do pdf password protect. So any one open that pdf he must be enter password then he can view the pdf content. I am doing a lots of googling but i didn't get the proper solution of it. There is n…

How to update a record in mongo db by "_id"

If you want to update a record in mongo db by "_id". Suppose below is a collection(table) with name "ceo" . So now you want to update name "Karm Khanna" with "Salman Ahmad" So now the update query will b…

Load More
That is All