Home / Companies / Ionic / Blog / June 2014

June 2014 Summaries

3 posts from Ionic

Filter
Month: Year:
Post Summaries Back to Blog
Debugging AngularJS applications can be streamlined using various techniques through the browser JavaScript console in Chrome, Firefox, and Internet Explorer. Developers can access and manipulate data and services deeply embedded within an application by employing tricks such as accessing scopes with `angular.element(targetNode).scope()` or `angular.element(targetNode).isolateScope()`, inspecting the scope tree with the AngularJS Batarang Chrome extension, and grabbing services with `angular.element(document.querySelector('html')).injector().get('MyService')`. Furthermore, developers can access controllers for directives with the `controller()` function and utilize Chrome console features like `$0 - $4` to access recently selected DOM elements. These methods allow for real-time testing and modification of AngularJS apps, offering a practical approach for developers to make quick changes and ensure functionality.
Jun 29, 2014 502 words in the original blog post.
Max Lynch, CEO of Ionic, shares insights on managing a successful open source project by focusing on the importance of pull requests (PRs), which are a vital component for incorporating community contributions without expanding the core development team. He emphasizes that PRs should be concise, consisting of a single commit addressing a specific issue to ensure they are easy to understand and verify. PRs that address broad community needs are more likely to be accepted, while overly specific changes may not be beneficial for the wider user base. Lynch also highlights the usefulness of labeling work-in-progress PRs correctly to foster community discussion and feedback, provided they are part of an agreed-upon mandate by project leaders.
Jun 20, 2014 409 words in the original blog post.
NgCordova is an open-source collection of AngularJS services and extensions designed to simplify the integration of Cordova plugins and native features in hybrid apps, announced by Max Lynch, CEO, on June 3, 2014. By providing simple AngularJS services, such as $cordovaCamera.getPicture, ngCordova alleviates the complexity of directly calling Cordova plugins, checking for their installation, and managing asynchronous processes, thereby offering a centralized approach to adding native functionality. The project, sparked by community feedback, aims to address the difficulties Ionic developers face with Cordova plugins due to inadequate documentation and confusing APIs, and has garnered significant interest, evidenced by community contributions shortly after its inception. With support for 14 plugins initially, ngCordova plans to expand its capabilities by enabling service mocking for testing without Cordova, simulating data, and improving test and mocking systems, inviting developers to enhance their hybrid and Ionic apps through this streamlined framework.
Jun 03, 2014 431 words in the original blog post.