tag:blogger.com,1999:blog-6082652835152798567.post7041958027750050996..comments2024-03-19T00:55:43.409-07:00Comments on Sql server, .net and c# video tutorial: Angular 2 routing tutorialUnknownnoreply@blogger.comBlogger12125tag:blogger.com,1999:blog-6082652835152798567.post-44607533507131314482019-02-17T21:08:16.738-08:002019-02-17T21:08:16.738-08:00I was getting the same error. After struggling for...I was getting the same error. After struggling for couple of hours, i found that it was copy paste error. In my project's service typescript file, I had <br /> import 'rxjs/add/operator/throw';<br />instead of<br /> import 'rxjs/add/observable/throw';<br /><br />After correcting this copy paste mistake, the application started running.Prashanthttps://www.blogger.com/profile/01230820780512951874noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-69821412140253524982019-02-17T17:53:12.313-08:002019-02-17T17:53:12.313-08:00I'm also getting the same error. Were you able...I'm also getting the same error. Were you able to fix this Srikanth?Prashanthttps://www.blogger.com/profile/01230820780512951874noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-55805421042453454312018-12-26T09:12:14.927-08:002018-12-26T09:12:14.927-08:00Hi Kuduvenkat,
First of all thanks for putting a...Hi Kuduvenkat, <br /><br />First of all thanks for putting all these articles out there. It is the simplest tutorial I could find and been following it for some time. <br /><br />Can you also add how to make multiple routes work in the same application? while doing the examples, I created the components as a Module and once this step was over I copied all the files from HomeComponent to create a new module. I updated the names to load them and the new module is working fine except routing. for routed pages, still the old pages are showing up. I changed the names [path: 'home', component: home.HomePageComponent ] to [path: 'homeParam', component: home.HomePageComponent], but now it is showing page not found. <br /><br />what is wrong with what I am doing? Can you add some directions and samples on how to implement nested routes / localized routes in Angular to this Page? I guess that got some additional steps to make it work.Digitally Inspiredhttps://www.blogger.com/profile/12229090377153695879noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-41453118540840710902018-11-11T03:53:14.989-08:002018-11-11T03:53:14.989-08:00i am getting below errors
could you pleasse help m...i am getting below errors<br />could you pleasse help me how to resolve these errors<br /><br />"Uncaught SyntaxError: Unexpected token <" in below files<br /><br /><br />shim.min.js,zone.js ,system.src.js,jquery.min.js,bootstrap.min.js,system.js,systemjs.config.js <br /><br /><br /><br />Uncaught ReferenceError: System is not defined<br /> at index.html:22<br /><br />" System.import('main.js').catch(function(err){ console.error(err); });"udaybhaskarhttps://www.blogger.com/profile/02078984498172625893noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-44346147784693803992018-07-24T04:27:34.143-07:002018-07-24T04:27:34.143-07:00Dear Venkat and Friends... Am getting the below er...Dear Venkat and Friends... Am getting the below errors. Tried many ways ..but in vain. Plz help.<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />Error: (SystemJS) Unexpected token <<br /> SyntaxError: Unexpected token <<br /> at eval ()<br /> at Object.eval (http://localhost:52866/src/app/employee/employee.service.js:17:1)<br /> at eval (http://localhost:52866/src/app/employee/employee.service.js:39:4)<br /> at eval (http://localhost:52866/src/app/employee/employee.service.js:40:3)<br /> Evaluating http://localhost:52866/node_modules/rxjs/add/operator/throw.js<br /> Evaluating http://localhost:52866/src/app/employee/employee.service.js<br /> Evaluating http://localhost:52866/src/app/employee/employeeList.component.js<br /> Evaluating http://localhost:52866/src/app/app.module.js<br /> Evaluating http://localhost:52866/src/main.js<br /> Error loading http://localhost:52866/src/main.js<br /> at eval ()<br /> at Object.eval (http://localhost:52866/src/app/employee/employee.service.js:17:1)<br /> at eval (http://localhost:52866/src/app/employee/employee.service.js:39:4)<br /> at eval (http://localhost:52866/src/app/employee/employee.service.js:40:3)<br /> Evaluating http://localhost:52866/node_modules/rxjs/add/operator/throw.js<br /> Evaluating http://localhost:52866/src/app/employee/employee.service.js<br /> Evaluating http://localhost:52866/src/app/employee/employeeList.component.js<br /> Evaluating http://localhost:52866/src/app/app.module.js<br /> Evaluating http://localhost:52866/src/main.js<br /> Error loading http://localhost:52866/src/main.jsAnonymoushttps://www.blogger.com/profile/06317695356449087206noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-46164488470971317262018-05-30T00:35:05.340-07:002018-05-30T00:35:05.340-07:00sir when i navigate to the employee list page then...sir when i navigate to the employee list page then the routing is not works properly. the error message shows that<br />ERROR Error: Uncaught (in promise): TypeError: this._unsubscribeAndRecycle is not a function<br />TypeError: this._unsubscribeAndRecycle is not a function<br /> at CatchSubscriber.error (catch.ts:110)<br /> at Observable.eval [as _subscribe] (apply_redirects.ts:64)<br /> at Observable.subscribe (Observable.ts:77)<br /> at CatchOperator.call (catch.ts:80)<br /> at Observable.subscribe (Observable.ts:77)<br /> at Object.subscribeToResult (subscribeToResult.ts:33)<br /> at MergeMapSubscriber._innerSub (mergeMap.ts:138)<br /> at MergeMapSubscriber._tryNext (mergeMap.ts:134)<br /> at MergeMapSubscriber._next (mergeMap.ts:118)<br /> at MergeMapSubscriber.Subscriber.next (Subscriber.ts:95)<br /> at CatchSubscriber.error (catch.ts:110)<br /> at Observable.eval [as _subscribe] (apply_redirects.ts:64)<br /> at Observable.subscribe (Observable.ts:77)<br /> at CatchOperator.call (catch.ts:80)<br /> at Observable.subscribe (Observable.ts:77)<br /> at Object.subscribeToResult (subscribeToResult.ts:33)<br /> at MergeMapSubscriber._innerSub (mergeMap.ts:138)<br /> at MergeMapSubscriber._tryNext (mergeMap.ts:134)<br /> at MergeMapSubscriber._next (mergeMap.ts:118)<br /> at MergeMapSubscriber.Subscriber.next (Subscriber.ts:95)<br /> at resolvePromise (zone.js:814)<br /> at resolvePromise (zone.js:771)<br /> at zone.js:873<br /> at ZoneDelegate.invokeTask (zone.js:421)<br /> at Object.onInvokeTask (ng_zone.ts:288)<br /> at ZoneDelegate.invokeTask (zone.js:420)<br /> at Zone.runTask (zone.js:188)<br /> at drainMicroTaskQueue (zone.js:595)<br /> at ZoneTask.invokeTask [as invoke] (zone.js:500)<br /> at invokeTask (zone.js:1540)<br />One more point i noted that when i defines the route error in app module file when we set the employeelist component path on first and the specify the home page path then empoyee list page load data but home page link gives the same error. please tell me what could be the problem with that.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-59378440928367289262017-11-25T21:06:28.001-08:002017-11-25T21:06:28.001-08:00Dear venkat, great article. I have installed boots...Dear venkat, great article. I have installed bootstrap & jQuery using npm console. i did add bootstrap.css, jQuery.min.js to index.html page. but when i execute my application, home and employee are displayed as un-ordered list my url - http://localhost:***7/src/home. when i edit url http://localhost:***7/ removing 'home' then it does bind with bootstrap. May i know y my application isn't binding at first time. Thanks again.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-70166522909830522052017-10-01T01:08:51.872-07:002017-10-01T01:08:51.872-07:00I think you missed bootstrap reference in your mai...I think you missed bootstrap reference in your main file ... or a wrong reference ...<br />Anonymoushttps://www.blogger.com/profile/10128305870337157264noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-51567461459921004852017-09-26T06:58:40.797-07:002017-09-26T06:58:40.797-07:00Nice explanation, some how Home and Employee is di...Nice explanation, some how Home and Employee is displayed as bullets, not as Tabs showed in the demo. Could you please help why ?<br />Rest of the functionality is working.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-5381577668272472652017-08-28T22:17:33.549-07:002017-08-28T22:17:33.549-07:00Perfect.. Thanks Venkat for such great and spontan...Perfect.. Thanks Venkat for such great and spontaneous efforts. Appreciated!!!Sanjay Thorathttps://www.blogger.com/profile/07473269821491465441noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-8221988252368654262017-08-24T00:50:59.364-07:002017-08-24T00:50:59.364-07:00Hi sir
Some times my routing is not working if i r...Hi sir<br />Some times my routing is not working if i refresh the browser or press the link button<br />Page is showing Empty and in Firebug Console angular module are not loaded<br />if am clicking multiple times on the menu, then its load<br />Shafeeqhttps://www.blogger.com/profile/10625141032949115413noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-33867044486543821292017-08-15T22:46:23.848-07:002017-08-15T22:46:23.848-07:00Thanks Sir.Thanks Sir.Anonymousnoreply@blogger.com