Dinesh Kumar Ramakrishnan

Ranch Hand
+ Follow
since Aug 07, 2012
Dinesh Kumar likes ...
AngularJS Chrome Linux
Noting to say much
kid with programming knowledge and unemployed
India
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
4
Received in last 30 days
0
Total given
4
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dinesh Kumar Ramakrishnan

Hi Rico Papillon,

I am confused with use case why you are navigating to question.html once i selected question number. how can i select one more question option from question.html
Try to use ES6 Map or Set functions. Or else go with reduce method
7 months ago
Welcome to coderanch.

Yes, you can but scope variable to save locally in JS variable and it will be destroyed once it's page refreshed. you can use some placeholder api endpoint to test your application.

https://jsonplaceholder.typicode.com/
9 months ago
You can use regex match or string replace to do this in the interceptor

Dinesh Kumar Ramakrishnan wrote:We cannot directly modify the request URL in intercept method, Since url is const in HttpRequest

We need to close the request object and modify URL something like below.

11 months ago
We cannot directly modify the request URL in intercept method, Since url is const in HttpRequest

We need to close the request object and modify URL something like below.

11 months ago
Welcome to CodeRanch in your file comment is not proper and broken img tag code. Below i have written the working version with changes. Learn more about setIntervel here : https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setInterval
I guess your angular version and prime ng angular version is not matching. Please update your angular version to 5 or downgrade prime ng to v4.

Reference https://github.com/primefaces/primeng/issues/4401
Yes, it's possible with chrome developer tool.  Select the DOM element which you want to check the dom event listener and switch to event lister tab. you will get a list of events for the dom element.

Like here : https://developers.google.com/web/tools/chrome-devtools/console/images/events-eventlisteners_panel.png

Reference : https://developers.google.com/web/tools/chrome-devtools/console/events

Sorry, the link https://www.studiotime.io is unreachable!
Hi All,

I am developing an application in nodejs expressjs framework with mongodb backend. i'll receive data from mongodb and pass as model of for JADE template it will render the page.

I want to integrate angualrjs 2 for form validation, live search, filters and some of DOM modification. I am not sure we can target the DOM element directly to init angular application without specifying template like angular 1 .

Could someone please help me how to init angular2  in already rendered html jade.

Thanks!

priyanshi bhardwaj wrote:hii.. Actually I am new to fiddle tool can you please tell me how to post code on fiddle.



jsFiddle will provide environment  to execute your html,css & js codes in online and share with URL link

http://doc.jsfiddle.net/tutorial.html
Please post your code in JSFiddle with all your lib files. That will be helpful for debug
https://jsfiddle.net/
Hi,


Responsive web design is the approach, To make your web pages responsive in all screen sizes and devices.

It's a more of css media query work. If you are familiar with CSS you can start using popular css framework like bootstrap or materializecss

https://www.smashingmagazine.com/2011/01/guidelines-for-responsive-web-design/
http://materializecss.com/
http://getbootstrap.com/

priyanshi bhardwaj wrote:I fixed the above error thanks but now i am getting another error

  • Cannot find module './lib/mongodb'
       at Function.Module._resolveFilename (module.js:469:15)

  • this error is for app.js. Can you help me with this but still i am unable to retrieve database i have checked all the things which you have mentioned above they exists in the database.



    You need install mongodb npm package to resolve this error. (npm install mongodb)

    Start with simple example.Try to create node end point with mongodb collection retrieval first, Later implement add/delete etc. Use mongoose to connect mongodb and fellow the below tutorial to connect node with monogodb

    https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs
    http://mongoosejs.com/docs/
    https://scotch.io/tutorials/using-mongoosejs-in-node-js-and-mongodb-applications

    Never give up!