Follow

Category: Javascript

Displaying .rtf files in the browser

Posted on September 20, 2017 by in Javascript

Introduction

The main aim of this blog is to show the content of an .rtf file on the browser window. Usually, when trying to open an .rtf file in the browser, it is downloaded instead of being displayed. This is because the browsers cannot reliably display RTF content. In order to overcome this problem, we came up with a solution which involves converting the contents of an .rtf file into HTML and then rendering it on the browser window.

Implementing routing using AngularUI Router

Posted on July 6, 2017 by in Javascript

Introduction

In this blog, we’ll give you a rundown of how we’ve implemented routing in our single page project management tool – PineStem.

Routing is a process of navigating the user to the desired location based on the action they perform.
Maintaining the user’s navigation history is a major challenge while developing a single page application(SPA).
To overcome this problem, we implemented a simple stack based solution which only involves pushing and popping an object with required properties.