diff --git a/samples/angular-search/README.md b/samples/angular-search/README.md index 7a8766af6..c1a3031d4 100644 --- a/samples/angular-search/README.md +++ b/samples/angular-search/README.md @@ -1,6 +1,9 @@ ## angular-search -This is where you include your web part docs. +# Search Client-Side Web Part build with angular + +## Summary +Sample Search Web Part that illustrates how you can use Angular within the new SharePoint Framework This app uses SharePoint's Search REST API endpoint to query listitems of a specific content type and displays the results to the end user. Ideally instead of selecting a content type for the search you would want to select a Result Source, but currently Result Sources are not @@ -13,7 +16,14 @@ Environment: Enable publishing features on site collection Enable publishing features on site +Note: In order to use the ngOfficeFabric code I use the ModuleLoader to load newer source files than the currently +Office Fabric UI in SharePoint Online, which will cause many of the icons not to load properly on the SharePoint +Page this webpart is added to. +## Applies to + +* [SharePoint Framework Developer Preview](http://dev.office.com/sharepoint/docs/spfx/sharepoint-framework-overview) +* [Office 365 developer tenant](http://dev.office.com/sharepoint/docs/spfx/set-up-your-developer-tenant) ### Building the code diff --git a/samples/angular-search/src/webparts/angularSearch/AngularSearchWebPart.ts b/samples/angular-search/src/webparts/angularSearch/AngularSearchWebPart.ts index 3c1b70a1e..c8e968eb4 100644 --- a/samples/angular-search/src/webparts/angularSearch/AngularSearchWebPart.ts +++ b/samples/angular-search/src/webparts/angularSearch/AngularSearchWebPart.ts @@ -89,7 +89,8 @@ export default class AngularSearchWebPart extends BaseClientSideWebPart - +