<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bharat Chhabra on Medium]]></title>
        <description><![CDATA[Stories by Bharat Chhabra on Medium]]></description>
        <link>https://medium.com/@bharatchhabra?source=rss-67e13bcfe8e6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*n8S--ACcYC7GYawK.</url>
            <title>Stories by Bharat Chhabra on Medium</title>
            <link>https://medium.com/@bharatchhabra?source=rss-67e13bcfe8e6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 00:25:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bharatchhabra/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Text-to-speech using Amazon Polly]]></title>
            <link>https://medium.com/@bharatchhabra/text-to-speech-using-amazon-polly-ef6c5ed9f5f4?source=rss-67e13bcfe8e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef6c5ed9f5f4</guid>
            <dc:creator><![CDATA[Bharat Chhabra]]></dc:creator>
            <pubDate>Tue, 27 Mar 2018 13:23:54 GMT</pubDate>
            <atom:updated>2018-03-27T13:39:33.197Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>What is Amazon Polly:</strong></h4><p>Amazon Polly is a cloud that converts text into speech. It supports multiple languages and converts them into a designated output speech. With this, you can create speech enabled applications which is more accessible and fun to use.</p><h4>Getting Started with Amazon Polly:</h4><p>In this tutorial, I will be building a simple application on Node.js which will convert text to a speech.</p><p>Prerequisities:</p><ol><li>You need to set up the credentials to manage access to AWS services and resources which is going to be AWS Polly.</li></ol><p>To set up the credentials, first you need to sign into the console, and then Type in IAM into the Search for services.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*h7drlePQ3zR5oUKPtzFMMQ.png" /></figure><p>It will take you to IAM service page, where you have to create a user and attach a policy of AWS polly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7IVGU44rb7acZ1aQnFZsHw.png" /></figure><p>Give any user name and don’t forget to click on Programmatic Access which actually provides an access ID and secret access key. These credentials we will use in our project which controls the AWS users and use permissions to allow and deny their access to AWS resources. We could even attach Administrative Access which only allows the administrative access to use our services. But for the sake of this application, I focussed on our main service which is to provide access to Polly service. Click on Next and copy the Access key and secret key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*It_6iXWW-gYUGErBNmAuiQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V_kwyoXQbqsuL-BiFkxdrg.png" /></figure><p>2. Next, go to your editor and type in <em>npm init</em> to create a package.json file.</p><p>3. Once the package.json file has been created and then we need to install dependency aws-sdk by typing the command <em>npm i — save aws-sdk.</em></p><h3>Application:</h3><p>When all the prequesities that were required for creating this application are installed or done, then we are good to go to do our coding part. Create a new JSON file and store your IAM credentials:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*cr7YtyWGDplB2uBykT_VfQ.png" /></figure><p>Create your main file (make sure it should be named after the same name of your main.js file when you have followed the output after running the command <em>npm init</em>). Type in the commands mentioned in the below image which basically, accessing your credentials file and creating a new instance of polly which we will use to further to convert text your speech.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/507/1*9gOXHI6A7UVqggsuk1vmZg.png" /></figure><p>4. When you are done with this, I want you to jump to the documentation part of AWS polly and expand the Action which is under API Reference on the left hand side menu. Click on “<strong><em>SynthesizeSpeech</em></strong>”. It accepts the input in the form of UTF-8 input, SSML(which can be used with the speak tag) and plain text. For this tutorial, I am going to focus on plain text only. If you read that page, You will learn, it accepts the data in JSON format and output mp3 (if you have specified mp3) and Request Characters which is the length of the text and Audio Stream.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/1*hi9MIXJV4Z60ye61cn8ZtA.png" /></figure><h4><strong>The code for this is:</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/567/1*LU8D_89HGA5coiGSeWKqKA.png" /></figure><h4><strong>And the output is:</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ARlg65_1ZndbrWuky3RDDg.png" /></figure><p>As you can see in the above image, it gives the same output format as input format which is <em>“mp3” </em>in the JSON data.</p><p>But if we want to save our output into to the local machine, we have to do some manipulation in the function.</p><p>We need to install the package fs (file-system), then we will use <em>fs.writeFile</em> function to save the file into our local device. In our function it accepts three arguments, first the name of the file it will be created with, data which will be copied into that file and the callback function. In your terminal, run the command <em>npm i — save fs </em>to install the package. And then, in your main file add the fs package. So, the final code would be:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*xnQiXJBU6C1e65gcAzJA_Q.png" /></figure><p>And the final output will be:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*-zHvHfUHMBqItvV3CcfZZg.png" /></figure><p>You will see there is a new file created by the name <em>“polly.mp3”</em>. Play this file from your local file system, you will hear <em>“Hey! How are you doing today?” </em>which is the input we have given in JSON data.</p><h3>Conclusion:</h3><p>With Amazon Polly, we have converted the Text-to-Speech by installing some necessary packages. By this service, there are some very innovative application could be created. It was just a simple application of converting Text-to-Speech. In Amazon Polly, there is much more to play with like SSML and Lexicons.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef6c5ed9f5f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Node.js — Facebook, Gmail authentication with Firebase for Web.]]></title>
            <link>https://medium.com/@bharatchhabra/node-js-facebook-gmail-authentication-with-firebase-for-web-a417da8220a9?source=rss-67e13bcfe8e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/a417da8220a9</guid>
            <dc:creator><![CDATA[Bharat Chhabra]]></dc:creator>
            <pubDate>Tue, 06 Mar 2018 14:41:00 GMT</pubDate>
            <atom:updated>2018-03-07T07:57:52.777Z</atom:updated>
            <content:encoded><![CDATA[<p>This tutorial covers the authorization for Facebook and Gmail using Firebase. In this tutorial you will learn how to make use of the firebase authentication for facebook and gmail in your Node.js application.</p><h4><strong>What we’re going to build:</strong></h4><p>The Node.js application we are going to build in this tutorial is to make use of authentication service. The user will be able to sign in with an exiting Facebook and Gmail account. So, the simple signin page that user sees is this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9c1xGr0zVo_ym5WzPFh7UQ.png" /></figure><p>Once the user click on, Login with Facebook or Login with Google, they will redirect to each of their respective page. It will look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*sdHv1Fv2qZ5rpygG5MC1DA.png" /></figure><p>It prompt the users to sign in with their Facebook accounts by opening a pop-up window. For gmail it looks like similar:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*dWXSFA8UYSuPHL8jmsXhtg.png" /></figure><p>Once the user logged in successfully, they will redirect to the home page.</p><p>In order to be able to make use of firebase authentication, we first need to setup the firebase account:</p><h3>Firebase Setup:</h3><h4>Create a new firebase project:</h4><p>To create a firebase project, first you need to visit <a href="https://firebase.google.com/"><em>firebase.google.com</em></a> and then click on top right end sign in option, it will take you to new page where you will be asked to enter credential of your Gmail, once you do that you will be able to see the following screen</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1ZbWdYxov6NbpCeK8xIrvQ.png" /></figure><p>Now, you have to click on “Add project” to create a new project, the new following window pops up and ask for your project details, project name and country you are going to host your application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*q8PL3EkXt_rvXxycwli2gg.png" /></figure><p>Click on button “Create Project”. Once the project is ready you’ll be forwarded to the project’s overview page in the Firebase console:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wr3eOR1SnYUUTnKzjlJmzA.png" /></figure><p>In the left-side menu structure there is a link “Authentication”. When you click on this link it’ll take you to the configuration page of the Firebase authentication service. Then you have to switch it to “Sign-In Method”. Here you’ll find a list of all sign-in providers supported by the Firebase authentication service:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*swdtnBH9gbRRHHaVONAZGg.png" /></figure><p>By default, every provider is disabled. In this tutorial we are going to use Facebook and Google provider, so simply click on each of them and enable the service and then save it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*UaHi83InGt9mVO-V6fsyMQ.png" /></figure><p>For Facebook, there is App Id and App secret you first need to enter, in order to enable the service which we will get it after setting up a new app in Facebook’s Developer’s account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*XeXfiEL-0NzcqThFiefbbg.png" /></figure><h4>Steps to setup a new app in Facebook Developer’s account:</h4><ol><li>You need to sign in Facebook Developer’s account. Once you are signed in, go to the top right corner where your Facebook profile photo is displaying, hover over it, you see a option of “Add a new App”. Click on it, there is following pop up window will be displayed on the center of your screen.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*FJT4Q7t2JJIDgSfZx2xxlw.png" /></figure><p>Enter the Display name of your app that you want to give a name of, and click on Create App ID.</p><p>2. The next window that appears is Dashboard of your account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/989/1*aDIfv7Gq8xYY4BFyULeunw.png" /></figure><p>3. Next you have to click on Facebook Login. Then, after you will be ready to do the quickstart for your application. For quickstart the following window appears:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*0qC7wnozVDiF0x3JfbSz7g.png" /></figure><p>URL for your website that you have to enter would be your firebase URL which you can find it in Sign-in Methods in Facebook.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*4O_YXMaUzM5967ySXuOiWA.png" /></figure><p>Paste this URL into your Facebook Developer’s account Site URL and Click on Continue.</p><p>3. Lastly, go to the settings which you find on the left hand side menu under Products. Enter the same URL which you’ve copied from your Firebase into the Valid OAuth redirect URIs and then click on Save Changes as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*kGDHRTuZCMG8tdLZK6Gj7w.png" /></figure><p>With that, you are almost done integrating your Facebook login with firebase. Finally, go to the basic settings and copy the APP ID and APP Secret into your firebase Facebook Sign -In method and click on Save.</p><h4>Install Dependencies:</h4><p>As the tutorial is about integrating facebook login with firebase using Node.js. We need to install certain dependencies in our node.js Project. Some of them are hapi, firebase etc by using the command <em>npm i firebase , npm i hapi.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*XzyafuIBwOHc75BNUaG2cA.png" /></figure><p>Add firebase configuration to your node.js application and add the following code to initialize the server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*gY6cBx3xs2gV9NGiG7abPA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*PFcSaKfpqlWHhfXHbWyhMw.png" /></figure><p>I have installed other dependencies also to render static page index.html which displays the front-end of our application. Those are path, inert, util-promisify. But you could do it fairly easy just by installing express which perform the same function of intializing the server and serving pages.</p><h4>Front-end page:</h4><p>In front page which is your html page that displays the UI of your page. Add the firebase configuration, bootstrap api and the following code into your html file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*32e6SBoy1-dQH4TjbrbL1A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ABVfOOKBKQxHaD6byey0iQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rh6qrqG1qd3_SZU9eCv1zQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*euINm1oDyo_AuEHW0r6_vg.png" /></figure><p>With that, you are almost done, go to your browser and type in URL <em>localhost:3000.</em></p><h4>Summary:</h4><p>The Firebase authentication service makes it easy to integrate authentication functionality in your application. It support various authentication providers (like Google, Facebook, Github etc.) which can be activated and configured in the Firebase console. This makes it easy to use existing web accounts for authentication in your web or mobile application.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a417da8220a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Hadoop and how to install Hadoop in Linux(Ubuntu)?]]></title>
            <link>https://medium.com/@bharatchhabra/what-is-hadoop-and-how-to-install-hadoop-in-linux-ubuntu-c096039832fd?source=rss-67e13bcfe8e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/c096039832fd</guid>
            <dc:creator><![CDATA[Bharat Chhabra]]></dc:creator>
            <pubDate>Tue, 13 Feb 2018 12:49:38 GMT</pubDate>
            <atom:updated>2018-02-13T13:08:13.734Z</atom:updated>
            <content:encoded><![CDATA[<p>Before i directly jump to hadoop, I will give an overview about big data?</p><h4>What is big data?</h4><p>When large amount of data cannot be processed by traditional database systems, and requires a faster approach to analyze and process data parallel.</p><p>Hadoop is an open framework that allows to store and process big data in a distributed environment which speeds up the processing time and analyzing time of the data. Basically, all that data is distributed across thousands of nodes and run in parallel and compute the data very fast.</p><h4><em>Now we have come to an point, to know how hadoop works?</em></h4><p>For instance, think that there is a data spread across many hundreds of file, first Hadoop wants to know where the data is located. After figuring it out, each file process the data parallel and when it’s completed, files combined together and results the output to Hadoop.</p><p>Hadoop also offers reliability. In Hadoop, the data is also replicated, it keeps the copies of the data blocks, so if node falls over, it doesn’t affect the result.</p><p>But sometimes there is a need of communication between the data files falling across the nodes in cases of counting and sorting. This is one of the phenomenon of Hadoop <em>MapReduce</em>.</p><h4>MapReduce:</h4><p>It is a technique a program model based on java which is segregated into two sets, namely Map and Reduce. Map first takes a set of data and converts it into another set of data(key/pairs). Secondly, reduce takes the map output as an input and combine these key pairs into smaller set of pairs.</p><p>The major advantage of MapReduce is that it is easy to scale data processing over multiple computing nodes.</p><p>Now we’ve have enough knowledge about the hadoop and I guess that’s the right time to come to our main task of this blog, Installing Hadoop in Linux(Ubuntu).</p><p><strong>Run your machine Ubuntu with a non-root user and sudo privileges:</strong></p><h4><em>Step 1 — Installing the Java</em></h4><ol><li>Update your package list by running the command <em>sudo apt-get update.</em></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*5Lr_4eYAS03gQRPDX2FKCg.jpeg" /></figure><p>2. Next, we’ll install OpenJDK, the default Java Development Kit on Ubuntu <em>sudo apt-get install default-jdk.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*-oUd5QVAhae1H7jNL8a4ug.png" /></figure><p>3. Once the installation is complete, let’s check the version by running the command <em>java -version.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/1*7XBRoP1MJyEJNipl9Fnx5A.png" /></figure><h4>Step 2 — Installing Hadoop</h4><ol><li>Next, we will install hadoop from it’s official website <a href="http://hadoop.apache.org/releases.html">Apache Hadoop Releases</a> click on binary 2.9.0.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lOPubdaULWe8dvEFd8RcFg.png" /></figure><p>2. Copy this link</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*zPDuN1vhDIZ4RxDJhS7tzA.png" /></figure><p>Then, go to your ubuntu system and use wget command to fetch it <em>wget </em><a href="http://mirror.dsrg.utoronto.ca/apache/hadoop/common/hadoop-2.9.0/hadoop-2.9.0.tar.gz"><em>http://mirror.dsrg.utoronto.ca/apache/hadoop/common/hadoop-2.9.0/hadoop-2.9.0.tar.gz</em></a><strong><em>.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/961/1*TyfuSG5jvr009sIaIlCeEw.png" /></figure><p>3. When the file has been successfully downloaded, we will extract the setup by using the command <em>tar -xzvf hadoop-2.9.0.taz.gz.</em></p><p>4. Lastly, we will move the extracted files into /<em>usr/local </em>folder by running the command <em>sudo mv hadoop-2.7.3 /usr/local/hadoop.</em></p><h4>Step 3 — Configuring Hadoop’s Java Home</h4><p>Hadoop requires that you set the path to Java, either as an environment variable or in the Hadoop configuration file.</p><p>In this tutorial, I am showing how to to set up Hadoop’s java Home as an environment variable.</p><ol><li>For doing that, first we will set the default java path by running the command <em>readlink -f /usr/bin/java | sed “s:bin/java::”</em></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*MHJ2aRn2e1NaE0X15o9piQ.png" /></figure><p>This outputs the java path. Now, we have to copy this path and paste into the hadoop’s environment file <em>hadoop-env.sh</em></p><p>2. Next, open hadoop-env.sh by using any editor such as Vi, Vim and Nano depends upon the version of your ubuntu. For this tutorial I am using Vi editor. The command to open the <em>hadoop-env.sh file is sudo vi/usr/local/hadoop/etc/hadoop/hadoop-env.sh.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*khmdNNz40omWP1VmOEtdrw.png" /></figure><h4>Step 4 — Running Hadoop:</h4><p>To make sure Hadoop is successfully configured and running. We have to run the command <em>/usr/local/hadoop/bin/hadoop. </em>Following output confirms the running of the hadoop:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*6AxYmzB-L6uNEbmFFNWmwA.png" /></figure><p>In this tutorial we have talked about big data, hadoop, it’s working, and finally the installation part of the hadoop in Linux (Ubuntu).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c096039832fd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular vs React (My Thoughts). Which one should you choose?]]></title>
            <link>https://medium.com/@bharatchhabra/angular-2-vs-react-my-thoughts-which-one-should-i-choose-f37c3803623f?source=rss-67e13bcfe8e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f37c3803623f</guid>
            <dc:creator><![CDATA[Bharat Chhabra]]></dc:creator>
            <pubDate>Tue, 30 Jan 2018 06:18:04 GMT</pubDate>
            <atom:updated>2018-02-13T13:12:27.714Z</atom:updated>
            <content:encoded><![CDATA[<p>This is the exact question going through my mind when I first had to choose either of one framework for my project and even to start learning. Every day we hear about new systems, tools and their advantages which drive us to learn about it. In this blog post, I am going to discuss about the importance of both frameworks and how they both are distinguish from each other?</p><p>This first article aims to provide you an insight into javascript by comparing Angular 2 and React frameworks. I will try to make concepts clear to aid into making a decision of which of the two you should learn or use for your project.</p><p>Angular 2 and React are compared based on the following:</p><ol><li>Basic concept</li><li>Implementation</li></ol><h3><strong>Basic Concept:</strong></h3><p>Let’s start with Angular 2 first:</p><h4>Angular</h4><p>Every element, screen and route is defined by components. Each component defined a set of function to which other function are associated with. Application is the root component. Component has I/O properties through which the data flows. Templates decides the rendering of the component which can be decide by the directives or in the template itself. Angular adds JS into HTML.</p><p><strong>React</strong></p><p>React is also made up of components, in which we define small components put together with all the connections and relationships to form bigger components. Data flows from parent to children, except when it comes to state, which originates inside a component. As i mentioned above, Angular puts JS into HTML whereas React adds HTML into JS.</p><h3>Implementation:</h3><p>In this section I am going to display some images with some explanation to give you clear view of the concepts that I discussed above:</p><h4>Angular 2:</h4><p>Let’s learn “Welcome” App in both of these frameworks. Steps to create an Angular application.</p><ol><li>Set up the environment, install nodejs and npm in your machine.</li><li>Install Angular CLI globally by running the command <em>npm install -g @angular/cli.</em></li><li>Create a new project and application by running the command <em>ng new my-app.</em></li><li>Go to the project directory and serve the application by running the commands <em>cd my-app, ng serve — open</em>.</li><li>The CLI that you have installed created the first Angular component for you. This is the root component and it is named app-root which you can find it in <em>./src/app/app.component.ts.</em></li><li>Open the component file and change the title name “Welcome to Angular”.</li></ol><p><strong>React:</strong></p><p>In react, you just have to type in few commands to display Welcome application. The Steps are:</p><ol><li><em>npm install -g create-react-app</em></li><li><em>create-react-app hello-world</em></li><li><em>cd hello-world</em></li><li>npm start</li></ol><p>And with those commands you will have the text displayed “Welcome to React”.</p><p>To help with Angular 2 features more, watch the below video:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FFLj4-e7YJ-A%3Fstart%3D1188%26feature%3Doembed%26start%3D1188&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DFLj4-e7YJ-A&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FFLj4-e7YJ-A%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7275c2f524729cec9b9001a0c8edd194/href">https://medium.com/media/7275c2f524729cec9b9001a0c8edd194/href</a></iframe><p>To conclude, both of the frameworks have equal importance, one is easy and provide more control over the other (Angular). On the other hand, Angular is fully-fledged framework which can run on any platform or browser. One adds JS into HTML whereas adds HTML into JS. In addition to, working in JSX make things more readable and provide more control over the changes that you would like to have. For Angular 2, one has to get adapt to the complicated system and directories and keywords which in opposed to react very complex.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f37c3803623f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>