Internationalization in Angular2
We all know that internationalization is important when it comes to bigger apps, or just the ones that are simply used across countries. Angular itself comes with very poor i18n support, which is why the community has built their own solutions to extend the framework’s functionalities to their needs. However, there’s finally a first-class solution…
Cannot re-export name that is not defined in the module ‘promise.d.ts’
TypeScript seems to have caused problems on the first line of promise.d.ts complaining that Promise cannot be exported as it is not defined in this file: ERROR in [default] /path/to/project/node_modules/angular2/src/facade/promise.d.ts:1:9 Cannot re-export name that is not defined in the module. I solved this problem by adding following line of code at line number 1 in…
Create SharePoint app for SharePoint 2013 using Angular2 with TypeScript
On 18th of September 2014 was pushed the initial commit of version 2.0 of the AngularJS framework. A few weeks ago the core team at Google, published AngularJS’ 2.0 and gave a couple of talks on ng-conf about their new router, change detection, templating, etc. I’m passionate about AngularJS since its early versions so I…
After changing permalinks wordpress throwing 404 error
I have created a site using wordpress and everything was working fine until I changed the permalink. Just after changing permalink, I start getting error 404 for almost all link. After troubleshooting and surfing I came to know that this is a common problem which many people are getting in wordpress installation, so I thought…
DML statements in SQL server functions
We can not write DML statements in SQL functions. Functions have Only READ-ONLY database access. If DML operations would be allowed in functions, then functions would be pretty similar to stored procedures. The way it is, a stored procedure can use a function, but not vice versa. Therefore, functions increase the “power” of stored procedures,…